aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-02-05 11:20:11 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-02-05 17:15:33 +0100
commit7b8e07e9100974a506c7dd31c8bf190ecf69840c (patch)
tree7f010eb2eec7841fe2a069369dc3dd3bad12a2ab /api
parent8f23ca12081c369423eab9456f8629b9c9680602 (diff)
Switch to the readthedocs theme for api docs
It also adds a requirement file for external doc tools wich couldn't handle upper constraints. Change-Id: Idf8f43e5e1a845055ce248f1dc8b8d676a3ac37b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'api')
-rw-r--r--api/conf.py2
-rw-r--r--api/requirements.txt3
2 files changed, 4 insertions, 1 deletions
diff --git a/api/conf.py b/api/conf.py
index 746a90fe..b5adb4ca 100644
--- a/api/conf.py
+++ b/api/conf.py
@@ -121,7 +121,7 @@ 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 = '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
diff --git a/api/requirements.txt b/api/requirements.txt
new file mode 100644
index 00000000..0d38313b
--- /dev/null
+++ b/api/requirements.txt
@@ -0,0 +1,3 @@
+git+https://gerrit.opnfv.org/gerrit/snaps#egg=snaps
+sphinx>=1.6.2 # BSD
+sphinx-rtd-theme