[dpdk-dev,v2,1/3] doc: set the default literal block format
Commit Message
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@intel.com>
---
doc/guides/conf.py | 1 +
1 file changed, 1 insertion(+)
Comments
On Fri, Jul 10, 2015 at 04:45:19PM +0100, John McNamara wrote:
> 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@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
@@ -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