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 <john.mcnamara at intel.com>
---
 doc/guides/conf.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/guides/conf.py b/doc/guides/conf.py
index e1edffd..b2290b4 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
-- 
1.8.1.4

Reply via email to