[PATCH] D29794: docs/conf.py: Suppress sphinx highlighting failure warnings

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 16:11:52 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL294672: docs/conf.py: Suppress sphinx highlighting failure warnings (authored by matze).

Changed prior to commit:
  https://reviews.llvm.org/D29794?vs=87889&id=87908#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D29794

Files:
  llvm/trunk/docs/conf.py


Index: llvm/trunk/docs/conf.py
===================================================================
--- llvm/trunk/docs/conf.py
+++ llvm/trunk/docs/conf.py
@@ -251,3 +251,7 @@
 
 # FIXME: Define intersphinx configuration.
 intersphinx_mapping = {}
+
+# Pygment lexer are sometimes out of date (when parsing LLVM for example) or
+# wrong. Suppress the warning so the build doesn't abort.
+suppress_warnings = [ 'misc.highlighting_failure' ]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29794.87908.patch
Type: text/x-patch
Size: 439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170210/1a01d8b7/attachment.bin>


More information about the llvm-commits mailing list