docs: disable syntax-highlighting by default
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 4 Jun 2019 13:15:39 +0000 (15:15 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sat, 13 Jun 2020 10:42:00 +0000 (10:42 +0000)
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>

docs/conf.py

index 98f6060132be8d71f7e5bc50ffcafa90c09d139f..8833dde9e15faeb19c4d972c1b64905b2946b59f 100644 (file)
@@ -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 ----------------------------------------------