From 7b8e07e9100974a506c7dd31c8bf190ecf69840c Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 5 Feb 2018 11:20:11 +0100 Subject: Switch to the readthedocs theme for api docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- api/conf.py | 2 +- api/requirements.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 api/requirements.txt (limited to 'api') diff --git a/api/conf.py b/api/conf.py index 746a90fe0..b5adb4ca3 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 000000000..0d38313b8 --- /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 -- cgit 1.2.3-korg