summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-15 23:15:58 +0000
committerGerrit Code Review <review@openstack.org>2017-07-15 23:15:58 +0000
commitea41cef9a1753faf5004c5900a486ed4439ca1dd (patch)
treed149342a9407a216bbcab68ff719351c1f067a0a
parentffcc723a5ed2030a2ec51c434d50be5a4383ee03 (diff)
parentcbc8503d20f3c8ab84e5441fdd8ea66c0b2dee21 (diff)
downloadpython-designateclient-2.7.0.tar.gz
Merge "switch from oslosphinx to openstackdocstheme"2.7.0
-rw-r--r--doc/source/conf.py9
-rw-r--r--releasenotes/source/conf.py11
-rw-r--r--test-requirements.txt2
3 files changed, 18 insertions, 4 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 3d24dfd..ec01574 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -6,7 +6,14 @@
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'oslosphinx']
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'openstackdocstheme']
+
+# openstackdocstheme options
+repository_name = 'openstack/python-designateclient'
+bug_project = 'python-designateclient'
+bug_tag = ''
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
+html_theme = 'openstackdocs'
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index ba8e8f3..5a7e2c8 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -37,10 +37,17 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
- 'oslosphinx',
+ 'openstackdocstheme',
'reno.sphinxext',
]
+# openstackdocstheme options
+repository_name = 'openstack/python-designateclient'
+bug_project = 'python-designateclient'
+bug_tag = ''
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
+html_theme = 'openstackdocs'
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -111,7 +118,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+# html_theme = 'default'
# 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/test-requirements.txt b/test-requirements.txt
index 94eb4f9..27e42d9 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -11,6 +11,6 @@ python-subunit>=0.0.18 # Apache-2.0/BSD
requests-mock>=1.1 # Apache-2.0
sphinx>=1.6.2 # BSD
testrepository>=0.0.18 # Apache-2.0/BSD
-oslosphinx>=4.7.0 # Apache-2.0
+openstackdocstheme>=1.11.0 # Apache-2.0
reno!=2.3.1,>=1.8.0 # Apache-2.0
tempest>=16.1.0 # Apache-2.0