From: John McNamara Date: Sun, 1 Nov 2015 23:29:13 +0000 (+0000) Subject: doc: change theme of guides X-Git-Tag: spdx-start~7756 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4557f45ff32c3e26f7627225ee513c7e4c73372c;p=dpdk.git doc: change theme of guides 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 add logos for the html and latex docs. Signed-off-by: John McNamara Acked-by: Harry van Haaren --- diff --git a/doc/guides/conf.py b/doc/guides/conf.py index be20f7317c..1861443fa7 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -35,8 +35,12 @@ from sphinx import __version__ as sphinx_version from sphinx.highlighting import PygmentsBridge from pygments.formatters.latex import LatexFormatter -project = 'DPDK' +project = 'Data Plane Development Kit' +if LooseVersion(sphinx_version) >= LooseVersion('1.3.1'): + html_theme = "sphinx_rtd_theme" +html_logo = '../logo/DPDK_logo_vertical_rev_small.png' +latex_logo = '../logo/DPDK_logo_horizontal_tag.png' html_add_permalinks = "" html_show_copyright = False highlight_language = 'none' diff --git a/doc/logo/DPDK_logo_horizontal_tag.png b/doc/logo/DPDK_logo_horizontal_tag.png new file mode 100644 index 0000000000..8c2e35dc85 Binary files /dev/null and b/doc/logo/DPDK_logo_horizontal_tag.png differ diff --git a/doc/logo/DPDK_logo_vertical_rev_small.png b/doc/logo/DPDK_logo_vertical_rev_small.png new file mode 100644 index 0000000000..a418043177 Binary files /dev/null and b/doc/logo/DPDK_logo_vertical_rev_small.png differ