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 <john.mcnamara@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
This commit is contained in:
John McNamara 2015-11-01 23:29:13 +00:00 committed by Thomas Monjalon
parent bc00fecff5
commit 4557f45ff3
3 changed files with 5 additions and 1 deletions

View File

@ -35,8 +35,12 @@
from sphinx.highlighting import PygmentsBridge from sphinx.highlighting import PygmentsBridge
from pygments.formatters.latex import LatexFormatter 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_add_permalinks = ""
html_show_copyright = False html_show_copyright = False
highlight_language = 'none' highlight_language = 'none'

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB