Skip to content

Commit e9c908a

Browse files
committed
doc: added default verbatim block highlight scheme
Instead of using the default highlight scheme for verbatim blocks, it now defaults to none. This is more appropriate in this context as no Python code is (in principle) necessary. Signed-off-by: Nick Papior <nickpapior@gmail.com>
1 parent 00fda17 commit e9c908a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/conf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,15 @@
131131
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'venv', 'py*/**']
132132

133133

134+
# Clarify the language for verbatim blocks (::)
135+
# Never change this to anything else. Lots of verbatim code blocks
136+
# exists across the documentation pages.
137+
# The default value is actually "default" which is something like Python3
138+
# and on fail it reverts to "none". We just go directly to none for clarity.
139+
highlight_language = "none"
140+
141+
142+
134143
# -- Options for HTML output -------------------------------------------------
135144

136145
# The theme to use for HTML and HTML Help pages. See the documentation for

0 commit comments

Comments
 (0)