Switch to openstackdocstheme and latest Sphinx
The yasfb 0.8.0 release has stopped supporting older Sphinx versions, but oslosphinx is deprecated and lacks support for Sphinx >=2.0.0. Luckily replacing oslosphinx with openstackdocstheme is trivial, and allows us to uncap Sphinx entirely. Change-Id: I3c372acf3dc3be224f71bb77c47b05a47add78a6
This commit is contained in:
parent
392dfd3214
commit
f3585ef0d0
|
@ -25,7 +25,7 @@ extensions = [
|
||||||
'sphinx.ext.autodoc',
|
'sphinx.ext.autodoc',
|
||||||
'sphinxcontrib.httpdomain',
|
'sphinxcontrib.httpdomain',
|
||||||
#'sphinx.ext.intersphinx',
|
#'sphinx.ext.intersphinx',
|
||||||
'oslosphinx',
|
'openstackdocstheme',
|
||||||
'yasfb',
|
'yasfb',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -74,9 +74,13 @@ 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_theme = 'openstackdocs'
|
||||||
# html_static_path = ['static']
|
# html_static_path = ['static']
|
||||||
|
|
||||||
|
# openstackdocstheme options
|
||||||
|
repository_name = 'openstack-infra/openstackid'
|
||||||
|
use_storyboard = True
|
||||||
|
|
||||||
# Output file base name for HTML help builder.
|
# Output file base name for HTML help builder.
|
||||||
htmlhelp_basename = '%sdoc' % project
|
htmlhelp_basename = '%sdoc' % project
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
oslosphinx
|
openstackdocstheme
|
||||||
sphinx>=1.1.2,<1.2
|
sphinx>=1.1.2
|
||||||
sphinxcontrib-httpdomain
|
sphinxcontrib-httpdomain
|
||||||
yasfb>=0.5.1
|
yasfb>=0.5.1
|
||||||
|
|
Loading…
Reference in New Issue