From d64fe080d676332214a9166a776e2e60e8c2cf19 Mon Sep 17 00:00:00 2001 From: tv3141 Date: Tue, 19 Jun 2018 10:35:44 +0100 Subject: [PATCH] Fallback to no syntax hightlighting without warning. Fixes: iris/docs/iris/src/developers_guide/gitwash/development_workflow.rst:317: WARNING: Could not lex literal_block as "python". Highlighting skipped. http://www.sphinx-doc.org/en/stable/config.html#confval-highlight_language --- docs/iris/src/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/iris/src/conf.py b/docs/iris/src/conf.py index 937a4e6a83..2833a01674 100644 --- a/docs/iris/src/conf.py +++ b/docs/iris/src/conf.py @@ -148,9 +148,9 @@ # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' -# Definer the default highlight language. This also allows the >>> removal +# Define the default highlight language. This also allows the >>> removal # javascript (copybutton.js) to function. -highlight_language = 'python' +highlight_language = 'default' # A list of ignored prefixes for module index sorting. modindex_common_prefix = ['iris']