Skip to content

Commit 002a9b9

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "switch to openstackdocstheme"
2 parents 1405818 + cf60df4 commit 002a9b9

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

doc/source/conf.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,15 @@
3232
extensions = ['sphinx.ext.autodoc',
3333
'sphinx.ext.doctest',
3434
'sphinx.ext.todo',
35-
'oslosphinx',
35+
'openstackdocstheme',
3636
'stevedore.sphinxext',
3737
]
3838

39+
# openstackdocstheme options
40+
repository_name = 'openstack/python-openstackclient'
41+
bug_project = 'python-openstackclient'
42+
bug_tag = ''
43+
3944
# Add any paths that contain templates here, relative to this directory.
4045
#templates_path = ['_templates']
4146

@@ -105,6 +110,7 @@
105110
# a list of builtin themes.
106111
#html_theme_path = ["."]
107112
#html_theme = '_theme'
113+
html_theme = 'openstackdocs'
108114

109115
# Theme options are theme-specific and customize the look and feel of a theme
110116
# further. For a list of options available for each theme, see the
@@ -138,6 +144,7 @@
138144
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
139145
# using the given strftime format.
140146
#html_last_updated_fmt = '%b %d, %Y'
147+
html_last_updated_fmt = '%Y-%m-%d %H:%M'
141148

142149
# If true, SmartyPants will be used to convert quotes and dashes to
143150
# typographically correct entities.

releasenotes/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3939
# ones.
4040
extensions = [
41-
'oslosphinx',
41+
'openstackdocstheme',
4242
'reno.sphinxext',
4343
'sphinx.ext.extlinks',
4444
]
@@ -171,6 +171,7 @@
171171
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
172172
# using the given strftime format.
173173
# html_last_updated_fmt = '%b %d, %Y'
174+
html_last_updated_fmt = '%Y-%m-%d %H:%M'
174175

175176
# If true, SmartyPants will be used to convert quotes and dashes to
176177
# typographically correct entities.

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
66
coverage!=4.4,>=4.0 # Apache-2.0
77
fixtures>=3.0.0 # Apache-2.0/BSD
88
mock>=2.0 # BSD
9-
oslosphinx>=4.7.0 # Apache-2.0
9+
openstackdocstheme>=1.11.0 # Apache-2.0
1010
oslotest>=1.10.0 # Apache-2.0
1111
reno!=2.3.1,>=1.8.0 # Apache-2.0
1212
requests>=2.14.2 # Apache-2.0

0 commit comments

Comments
 (0)