summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor <tifrank@cisco.com>2017-01-26 13:21:12 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-27 01:03:05 +0000
commit7ff11136b1a528bd3d9b0795fa0005b40c2b3b9f (patch)
tree662d21fad42bd6ac5ee5f503c4d2e1aabf376aa6
parent3900fe53fc15dbf07b86cfffa9877c7b15fb874c (diff)
Add sphinx read the doc theme.
Change-Id: Iade7c42081378bf211b81ad29b2898518442d2ff Signed-off-by: Tibor <tifrank@cisco.com>
-rw-r--r--test/Makefile2
-rw-r--r--test/doc/conf.py3
2 files changed, 3 insertions, 2 deletions
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