From: Tibor Date: Thu, 26 Jan 2017 12:21:12 +0000 (+0100) Subject: Add sphinx read the doc theme. X-Git-Tag: v17.04-rc1~315 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=7ff11136b1a528bd3d9b0795fa0005b40c2b3b9f Add sphinx read the doc theme. Change-Id: Iade7c42081378bf211b81ad29b2898518442d2ff Signed-off-by: Tibor --- diff --git a/test/Makefile b/test/Makefile index db64ad93e07..f3c71b5137c 100644 --- a/test/Makefile +++ b/test/Makefile @@ -55,7 +55,7 @@ wipe: reset doc: verify-python-path @virtualenv $(PYTHON_VENV_PATH) -p python2.7 - @bash -c "source $(PYTHON_VENV_PATH)/bin/activate && pip install $(PYTHON_DEPENDS) sphinx" + @bash -c "source $(PYTHON_VENV_PATH)/bin/activate && pip install $(PYTHON_DEPENDS) sphinx sphinx-rtd-theme" @bash -c "source $(PYTHON_VENV_PATH)/bin/activate && make -C doc WS_ROOT=$(WS_ROOT) BR=$(BR) NO_VPP_PAPI=1 html" .PHONY: wipe-doc diff --git a/test/doc/conf.py b/test/doc/conf.py index 96ea50fe890..ec8958ea2f0 100644 --- a/test/doc/conf.py +++ b/test/doc/conf.py @@ -122,7 +122,8 @@ todo_include_todos = False # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'alabaster' +#html_theme = 'alabaster' +html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the