summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/conf.py9
-rw-r--r--releasenotes/source/conf.py3
-rw-r--r--test-requirements.txt4
3 files changed, 12 insertions, 4 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 58247585..661aa73d 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6,12 +6,12 @@ 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
requests-mock>=1.1 # Apache-2.0
-sphinx!=1.6.1,>=1.5.1 # BSD
+sphinx>=1.6.2 # BSD
stevedore>=1.20.0 # Apache-2.0
os-client-config>=1.27.0 # Apache-2.0
os-testr>=0.8.0 # Apache-2.0