Update to openstackdocstheme

Use openstackdocstheme everywhere, this implies updating some
requirements.

Change-Id: I41db61936be63f92022c3f32cf6468a503e03dff
This commit is contained in:
Andreas Jaeger 2017-07-21 08:43:47 +02:00
parent 726d89864a
commit 465ed7e25f
4 changed files with 28 additions and 11 deletions

View File

@ -22,7 +22,7 @@ sys.path.insert(0, os.path.abspath('../..'))
extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
'oslosphinx',
'openstackdocstheme',
'reno.sphinxext'
]
@ -38,7 +38,7 @@ master_doc = 'index'
# General information about the project.
project = u'bashate'
copyright = u'2014, Bashate Authors'
copyright = u'2017, Bashate Authors'
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True
@ -50,6 +50,11 @@ add_module_names = True
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# openstackdocstheme options
repository_name = 'openstack-dev/bashate'
bug_project = 'bashate'
bug_tag = ''
# Grouping the document tree for man pages.
# List of tuples 'sourcefile', 'target', u'title', u'Authors name', 'manual'
man_pages = [
@ -57,17 +62,24 @@ man_pages = [
[u'OpenStack Foundation'], 1),
]
# -- Options for HTML output --------------------------------------------------
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
# html_theme_path = ["."]
# html_theme = '_theme'
# html_static_path = ['static']
html_theme = 'openstackdocs'
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
# 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'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# [howto/manual]).

View File

@ -38,7 +38,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'oslosphinx',
'openstackdocstheme',
'reno.sphinxext',
]
@ -56,7 +56,7 @@ master_doc = 'index'
# General information about the project.
project = u'Bashate Release Notes'
copyright = u'2015, Bashate Developers'
copyright = u'2017, Bashate Developers'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@ -108,12 +108,16 @@ pygments_style = 'sphinx'
# If true, keep warnings as "system message" paragraphs in the built documents.
# keep_warnings = False
# openstackdocstheme options
repository_name = 'openstack-dev/bashate'
bug_project = 'bashate'
bug_tag = ''
# -- Options for HTML output ----------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
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
@ -152,6 +156,7 @@ html_theme = 'default'
# 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

@ -2,5 +2,5 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
pbr>=1.6
Babel>=1.3
pbr!=2.1.0,>=2.0.0 # Apache-2.0
Babel!=2.4.0,>=2.3.4 # BSD

View File

@ -9,9 +9,9 @@ coverage>=3.6
discover
fixtures>=1.3.1
python-subunit>=0.0.18
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
sphinx>=1.6.2
openstackdocstheme>=1.11.0 # Apache-2.0
testrepository>=0.0.18
testscenarios>=0.4
testtools>=1.4.0
reno>=0.1.1
reno!=2.3.1,>=1.8.0 # Apache-2.0