Switch from oslosphinx to openstackdocstheme
Change-Id: I52055e7b3c0ed8f56d05ca624339b7e9aca19222
This commit is contained in:
parent
52440836bd
commit
958063e1ed
@ -7,7 +7,7 @@
|
|||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||||
extensions = ['sphinx.ext.autodoc',
|
extensions = ['sphinx.ext.autodoc',
|
||||||
'sphinx.ext.viewcode',
|
'sphinx.ext.viewcode',
|
||||||
'oslosphinx',
|
'openstackdocstheme',
|
||||||
]
|
]
|
||||||
|
|
||||||
wsme_protocols = ['restjson']
|
wsme_protocols = ['restjson']
|
||||||
@ -58,9 +58,18 @@ pygments_style = 'sphinx'
|
|||||||
# The theme to use for HTML and HTML Help pages. Major themes that come with
|
# The theme to use for HTML and HTML Help pages. Major themes that come with
|
||||||
# Sphinx are currently 'default' and 'sphinxdoc'.
|
# Sphinx are currently 'default' and 'sphinxdoc'.
|
||||||
#html_theme_path = ["."]
|
#html_theme_path = ["."]
|
||||||
#html_theme = '_theme'
|
|
||||||
#html_static_path = ['_static']
|
#html_static_path = ['_static']
|
||||||
|
|
||||||
|
html_theme = 'openstackdocs'
|
||||||
|
|
||||||
|
# openstackdocstheme options
|
||||||
|
repository_name = 'openstack/ironic-lib'
|
||||||
|
bug_project = 'ironic-lib'
|
||||||
|
bug_tag = ''
|
||||||
|
|
||||||
|
# Must set this variable to include year, month, day, hours, and minutes.
|
||||||
|
html_last_updated_fmt = '%Y-%m-%d %H:%M'
|
||||||
|
|
||||||
# Output file base name for HTML help builder.
|
# Output file base name for HTML help builder.
|
||||||
htmlhelp_basename = '%sdoc' % project
|
htmlhelp_basename = '%sdoc' % project
|
||||||
|
|
||||||
|
@ -15,4 +15,4 @@ testtools>=1.4.0 # MIT
|
|||||||
# Doc requirements
|
# Doc requirements
|
||||||
doc8 # Apache-2.0
|
doc8 # Apache-2.0
|
||||||
sphinx>=1.6.2 # BSD
|
sphinx>=1.6.2 # BSD
|
||||||
oslosphinx>=4.7.0 # Apache-2.0
|
openstackdocstheme>=1.11.0 # Apache-2.0
|
Loading…
x
Reference in New Issue
Block a user