Merge "switch to openstackdocstheme"

This commit is contained in:
Jenkins 2017-06-27 21:10:47 +00:00 committed by Gerrit Code Review
commit 002a9b9972
3 changed files with 11 additions and 3 deletions

View File

@ -32,10 +32,15 @@ sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..',
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.todo',
'oslosphinx',
'openstackdocstheme',
'stevedore.sphinxext',
]
# openstackdocstheme options
repository_name = 'openstack/python-openstackclient'
bug_project = 'python-openstackclient'
bug_tag = ''
# Add any paths that contain templates here, relative to this directory.
#templates_path = ['_templates']
@ -105,6 +110,7 @@ modindex_common_prefix = ['openstackclient.']
# a list of builtin themes.
#html_theme_path = ["."]
#html_theme = '_theme'
html_theme = 'openstackdocs'
# 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
@ -138,6 +144,7 @@ modindex_common_prefix = ['openstackclient.']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_last_updated_fmt = '%b %d, %Y'
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.

View File

@ -38,7 +38,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'oslosphinx',
'openstackdocstheme',
'reno.sphinxext',
'sphinx.ext.extlinks',
]
@ -171,6 +171,7 @@ html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
# html_last_updated_fmt = '%b %d, %Y'
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.

View File

@ -6,7 +6,7 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
mock>=2.0 # BSD
oslosphinx>=4.7.0 # Apache-2.0
openstackdocstheme>=1.11.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
reno!=2.3.1,>=1.8.0 # Apache-2.0
requests>=2.14.2 # Apache-2.0