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 | f0cb2fdd741c9af4be7d670d27dc48cb71857830 (patch) | |
tree | 9b55eb1465e18866ee33011e5f85cf3ecc6af885 /llvm/docs/conf.py | |
parent | 11306e5113fa2fa6e3416fde3af334635779f210 (diff) | |
download | bcm5719-llvm-f0cb2fdd741c9af4be7d670d27dc48cb71857830.tar.gz bcm5719-llvm-f0cb2fdd741c9af4be7d670d27dc48cb71857830.zip |
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
llvm-svn: 294672
Diffstat (limited to 'llvm/docs/conf.py')
-rw-r--r-- | llvm/docs/conf.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/conf.py b/llvm/docs/conf.py index cd9142cefdf..e7c18da48eb 100644 --- a/llvm/docs/conf.py +++ b/llvm/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' ] |