summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2019-06-04 15:15:39 +0200
committerMarge Bot <eric+marge@anholt.net>2020-06-13 10:42:00 +0000
commitdcaab1b311e7817eede82eacf18a8168f2f8475b (patch)
treed70481bc9dd0e843dc8a3bcc73d81d86313b7261 /docs/conf.py
parent00cd1346bf056dfc0e7c7f75a9a4e64f3715930c (diff)
downloadmesa-dcaab1b311e7817eede82eacf18a8168f2f8475b.tar.gz
docs: disable syntax-highlighting by default
The default is python, which we don't really do a whole lot of in our docs, so let's just disable to none instead. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4630>
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 98f6060132b..8833dde9e15 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -83,6 +83,10 @@ pygments_style = 'sphinx'
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False
+# Disable highlighting unless a language is specified, otherwise we'll get
+# python keywords highlit in literal blocks.
+highlight_language = "none"
+
# -- Options for HTML output ----------------------------------------------