From 2b68e480314e2095cc18dd5f1391a0fab101a618 Mon Sep 17 00:00:00 2001 From: John McNamara Date: Fri, 10 Jul 2015 16:45:19 +0100 Subject: [PATCH] doc: reset the default sphinx literal block format Set the default literal block format for Sphinx docs to 'none' instead of the implicit default of 'python'. This means that default :: blocks won't have any highlighting applied. Explicit highlighting via the code-block:: directive is already available and in use in the docs. Signed-off-by: John McNamara Acked-by: Bruce Richardson --- doc/guides/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index e1edffd369..b2290b4474 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -38,6 +38,7 @@ from pygments.formatters.latex import LatexFormatter project = 'DPDK' html_show_copyright = False +highlight_language = 'none' version = subprocess.check_output(['make', '-sRrC', '../../', 'showversion']).decode('utf-8') release = version -- 2.20.1