From: Erik Faye-Lund Date: Tue, 4 Jun 2019 13:15:39 +0000 (+0200) Subject: docs: disable syntax-highlighting by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dcaab1b311e7817eede82eacf18a8168f2f8475b;p=mesa.git 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 Part-of: --- 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 ----------------------------------------------