Skip to content

Commit cf60df4

Browse files
committed
switch to openstackdocstheme
Change-Id: Iee591504ba5d7506ba41a9faaa1c293a5fe2db6a Depends-On: Ifc5512c0e2373cf3387e0e0498268eab092e52bb Signed-off-by: Doug Hellmann <doug@doughellmann.com>
1 parent c0719c3 commit cf60df4

3 files changed

Lines changed: 12 additions & 4 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ 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
1313
requests-mock>=1.1 # Apache-2.0
14-
sphinx!=1.6.1,>=1.5.1 # BSD
14+
sphinx>=1.6.2 # BSD
1515
stevedore>=1.20.0 # Apache-2.0
1616
os-client-config>=1.27.0 # Apache-2.0
1717
os-testr>=0.8.0 # Apache-2.0

0 commit comments

Comments
 (0)