Merge "Support newer openstackdocstheme"

This commit is contained in:
Zuul 2020-08-06 15:36:17 +00:00 committed by Gerrit Code Review
commit 9f040d985d
2 changed files with 17 additions and 7 deletions

View File

@ -17,10 +17,17 @@ except ImportError:
openstackdocstheme = None
# openstackdocstheme options
# Deprecated options for docstheme < 2.2.0, can be removed once
# pbr stops supporting py27.
repository_name = 'openstack/pbr'
bug_project = 'pbr'
bug_tag = ''
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# New options with openstackdocstheme >=2.2.0
openstackdocs_repo_name = 'openstack/pbr'
openstackdocs_auto_name = False
openstackdocs_bug_project = 'pbr'
openstackdocs_bug_tag = ''
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.

View File

@ -41,13 +41,16 @@ release = ''
# a list of builtin themes.
html_theme = 'openstackdocs'
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# -- Options for openstackdocstheme ---------------------------------------
repository_name = 'openstack-dev/pbr'
# Deprecated options for openstackdocstheme < 2.2.0, can be removed once
# pbr stops supporting py27.
repository_name = 'openstack/pbr'
bug_project = 'pbr'
bug_tag = ''
# New options with openstackdocstheme >=2.2.0
openstackdocs_repo_name = 'openstack/pbr'
openstackdocs_auto_name = False
openstackdocs_bug_project = 'pbr'
openstackdocs_bug_tag = ''