Switch to the readthedocs theme for api docs 73/51673/2
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 5 Feb 2018 10:20:11 +0000 (11:20 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 5 Feb 2018 16:15:33 +0000 (17:15 +0100)
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>
api/conf.py
api/requirements.txt [new file with mode: 0644]
test-requirements.txt

index 746a90f..b5adb4c 100644 (file)
@@ -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 (file)
index 0000000..0d38313
--- /dev/null
@@ -0,0 +1,3 @@
+git+https://gerrit.opnfv.org/gerrit/snaps#egg=snaps
+sphinx>=1.6.2 # BSD
+sphinx-rtd-theme
index 569b80c..422cbeb 100644 (file)
@@ -7,4 +7,5 @@ nose # LGPL
 flake8<2.6.0,>=2.5.4 # MIT
 pylint==1.4.5 # GPLv2
 sphinx>=1.6.2 # BSD
+sphinx-rtd-theme
 yamllint