diff options
author | Matthias Braun <matze@braunis.de> | 2017-02-10 00:00:22 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2017-02-10 00:00:22 +0000 |
commit | 05638abb6da58f7fdeb696db2a76715683655670 (patch) | |
tree | a351d283df800fd87a8bcf63a9152ad2ad0bae8e /docs/conf.py | |
parent | 88c0fa92a7a0558ec1639e415e68b07dc7d823dd (diff) |
docs/conf.py: Suppress sphinx highlighting failure warnings
The pygments syntax highlighting package used by sphinx fails to parse
newer LLVM constructs or valid (at least to me) gas constructs like
`.secrel32 _function_name + 0`.
Disable this particular warning so the build doesn't abort as fixing
pygments doesn't seem a workable option here.
Differential Revision: https://reviews.llvm.org/D29794
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py index cd9142cefdf2..e7c18da48ebe 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -251,3 +251,7 @@ for name in os.listdir(command_guide_path): # 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' ] |