From dcaab1b311e7817eede82eacf18a8168f2f8475b Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 4 Jun 2019 15:15:39 +0200 Subject: [PATCH] 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: --- docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) 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 ---------------------------------------------- -- 2.30.2