We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06544e9 + 795668d commit b55c299Copy full SHA for b55c299
docs/codeql/conf.py
@@ -49,10 +49,13 @@
49
import os
50
import sys
51
52
+import sphinx as sphinx_mod
53
+
54
55
def setup(sphinx):
56
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
57
from qllexer import QLLexer
- sphinx.add_lexer("ql", QLLexer())
58
+ sphinx.add_lexer("ql", QLLexer() if sphinx_mod.version_info[0] <= 3 else QLLexer)
59
60
# The version of CodeQL for the current release you're documenting, acts as replacement for
61
# |version| and |release|. Not currently used.
0 commit comments