[dpdk-dev] [PATCH] doc: change sphinx theme to the read the docs theme

John McNamara john.mcnamara at intel.com
Tue Oct 20 13:31:29 CEST 2015


Change the Sphinx default theme from "alabaster" to the ReadTheDocs
theme. See for example:

    http://dpdk.readthedocs.org/en/latest/

This looks better for technical documentation and in particular
it has a 80 char wide verbatim block rendering.

Also turn off option for distracting Html mouseover permalinks.

Signed-off-by: John McNamara <john.mcnamara at intel.com>
---
 doc/guides/conf.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/guides/conf.py b/doc/guides/conf.py
index b2290b4..8cfb7d3 100644
--- a/doc/guides/conf.py
+++ b/doc/guides/conf.py
@@ -37,6 +37,8 @@ from pygments.formatters.latex import LatexFormatter
 
 project = 'DPDK'
 
+html_theme = "sphinx_rtd_theme"
+html_add_permalinks = ""
 html_show_copyright = False
 highlight_language = 'none'
 
-- 
1.8.1.4



More information about the dev mailing list