summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-27 21:10:47 +0000
committerGerrit Code Review <review@openstack.org>2017-06-27 21:10:47 +0000
commit002a9b99729059e7ec89a251635690bd057b3bed (patch)
tree2261112719eeb2ff07c1d05299b39cebe2d00290
parent1405818b7705d413e0113454a35151b9dd4ba414 (diff)
parentcf60df426114ae2ecea504d00c4fa31a153c7353 (diff)
downloadpython-openstackclient-002a9b99729059e7ec89a251635690bd057b3bed.tar.gz
Merge "switch to openstackdocstheme"
-rw-r--r--doc/source/conf.py9
-rw-r--r--releasenotes/source/conf.py3
-rw-r--r--test-requirements.txt2
3 files changed, 11 insertions, 3 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 42029146..a90fca64 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -32,10 +32,15 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..',
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.todo',
- 'oslosphinx',
+ 'openstackdocstheme',
'stevedore.sphinxext',
]
+# openstackdocstheme options
+repository_name = 'openstack/python-openstackclient'
+bug_project = 'python-openstackclient'
+bug_tag = ''
+
# Add any paths that contain templates here, relative to this directory.
#templates_path = ['_templates']
@@ -105,6 +110,7 @@ modindex_common_prefix = ['openstackclient.']
# a list of builtin themes.
#html_theme_path = ["."]
#html_theme = '_theme'
+html_theme = 'openstackdocs'
# 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
@@ -138,6 +144,7 @@ modindex_common_prefix = ['openstackclient.']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_last_updated_fmt = '%b %d, %Y'
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 38f0107c..5d270d93 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -38,7 +38,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
- 'oslosphinx',
+ 'openstackdocstheme',
'reno.sphinxext',
'sphinx.ext.extlinks',
]
@@ -171,6 +171,7 @@ html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
# html_last_updated_fmt = '%b %d, %Y'
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
diff --git a/test-requirements.txt b/test-requirements.txt
index e9939a1c..661aa73d 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6,7 +6,7 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
mock>=2.0 # BSD
-oslosphinx>=4.7.0 # Apache-2.0
+openstackdocstheme>=1.11.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
reno!=2.3.1,>=1.8.0 # Apache-2.0
requests>=2.14.2 # Apache-2.0