Skip to content

Commit 4557f45

Browse files
john-mcnamara-intelThomas Monjalon
authored and
Thomas Monjalon
committed
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>
1 parent bc00fec commit 4557f45

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

doc/guides/conf.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,12 @@
3535
from sphinx.highlighting import PygmentsBridge
3636
from pygments.formatters.latex import LatexFormatter
3737

38-
project = 'DPDK'
38+
project = 'Data Plane Development Kit'
3939

40+
if LooseVersion(sphinx_version) >= LooseVersion('1.3.1'):
41+
html_theme = "sphinx_rtd_theme"
42+
html_logo = '../logo/DPDK_logo_vertical_rev_small.png'
43+
latex_logo = '../logo/DPDK_logo_horizontal_tag.png'
4044
html_add_permalinks = ""
4145
html_show_copyright = False
4246
highlight_language = 'none'

doc/logo/DPDK_logo_horizontal_tag.png

120 KB
Loading
15.7 KB
Loading

0 commit comments

Comments
 (0)