From d44668df71cf1543897250172eeeccde9eb82393 Mon Sep 17 00:00:00 2001 From: Luka Peschke Date: Tue, 5 Feb 2019 11:20:37 +0100 Subject: [PATCH] Update the repository This updates some out-of-date aspects of the CloudKitty specs: * The specs are now built using the OpenStack docs instead of the old RTD theme. * Requirements have been updated. Change-Id: I903e601a22938b3434e7d101921886319d888351 --- doc/source/conf.py | 8 ++++---- requirements.txt | 7 +++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 47882ac..35bb56f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -15,7 +15,7 @@ import datetime import os import sys -import sphinx_rtd_theme +import openstackdocstheme # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -32,7 +32,7 @@ import sphinx_rtd_theme extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.viewcode', - 'oslosphinx', + 'openstackdocstheme', 'yasfb', ] @@ -104,8 +104,8 @@ man_pages = [] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # html_theme = 'nature' -html_theme = "sphinx_rtd_theme" -html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] +html_theme = "openstackdocs" +html_theme_path = [openstackdocstheme.get_html_theme_path()] # Theme options are theme-specific and customize the look and feel of a theme diff --git a/requirements.txt b/requirements.txt index edbc0fa..c211710 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ -oslosphinx>=2.2.0.0a2 -pbr>=0.6,!=0.7,<1.0 -sphinx>=1.1.2,<1.2 -sphinx_rtd_theme +pbr>=1.8 +sphinx>=1.6.2 testrepository>=0.0.18 testtools>=0.9.34 yasfb>=0.5.1 +openstackdocstheme>=1.17.0 # Apache-2.0