Browse Source

switch from oslosphinx to openstackdocstheme

Change-Id: Ia5066e9f356caad378e4ddaffa49dcea44b60c70
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
changes/54/478654/1
Doug Hellmann 4 years ago
parent
commit
05221ff437
  1. 11
      doc/source/conf.py
  2. 11
      releasenotes/source/conf.py
  3. 2
      test-requirements.txt

11
doc/source/conf.py

@ -23,9 +23,16 @@ sys.path.insert(0, os.path.abspath('../..'))
extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
'oslosphinx'
'openstackdocstheme'
]
# openstackdocstheme options
repository_name = 'openstack/designate-dashboard'
bug_project = 'designate-dashboard'
bug_tag = ''
html_last_updated_fmt = '%Y-%m-%d %H:%M'
html_theme = 'openstackdocs'
# autodoc generation is a bit aggressive and a ndashboardsance when doing heavy
# text edit cycles.
# execute "export SPHINX_DEBUG=1" in your terminal to disable
@ -72,4 +79,4 @@ latex_documents = [
]
# Example configuration for intersphinx: refer to the Python standard library.
#intersphinx_mapping = {'http://docs.python.org/': None}
#intersphinx_mapping = {'http://docs.python.org/': None}

11
releasenotes/source/conf.py

@ -28,10 +28,17 @@ import pbr.version
# ones.
extensions = [
'oslosphinx',
'openstackdocstheme',
'reno.sphinxext',
]
# openstackdocstheme options
repository_name = 'openstack/designate-dashboard'
bug_project = 'designate-dashboard'
bug_tag = ''
html_last_updated_fmt = '%Y-%m-%d %H:%M'
html_theme = 'openstackdocs'
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@ -113,7 +120,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
# html_theme = 'default'
# 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

2
test-requirements.txt

@ -13,7 +13,7 @@ testrepository>=0.0.18 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
unittest2 # BSD
sphinx>=1.6.2 # BSD
oslosphinx>=4.7.0 # Apache-2.0
openstackdocstheme>=1.11.0 # Apache-2.0
reno!=2.3.1,>=1.8.0 # Apache-2.0
nose # LGPL
nosehtmloutput>=0.0.3 # Apache-2.0

Loading…
Cancel
Save