Skip to content

Commit 7b96311

Browse files
author
Alexander Batashev
authored
[SYCL][Doc] Suppress syntax highlighting warnings in Sphinx (#3201)
Sphinx code parsers are sometimes out-of-date.
1 parent eaf4dac commit 7b96311

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151

5252
source_parsers = {'.md': 'recommonmark.parser.CommonMarkParser'}
5353

54+
suppress_warnings = [ 'misc.highlighting_failure' ]
55+
5456
def on_missing_reference(app, env, node, contnode):
5557
if node['reftype'] == 'any':
5658
contnode['refuri'] = "https://github.com/intel/llvm/tree/sycl/sycl/doc/" + contnode['refuri']

0 commit comments

Comments
 (0)