switch to openstackdocstheme

Change-Id: I3e64748706f0bfede27de1b74071b0f3ba29d5f2
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-07-21 14:38:02 -04:00
parent ae1090d242
commit 3435de5629
2 changed files with 14 additions and 7 deletions

View File

@ -31,9 +31,16 @@ from jinja2.utils import Markup
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.todo',
'sphinx.ext.viewcode',
'oslosphinx'
'openstackdocstheme'
]
# openstackdocstheme options
repository_name = 'openstack/project-team-guide'
bug_project = 'openstack-manuals'
bug_tag = 'PTG'
html_last_updated_fmt = '%Y-%m-%d %H:%M'
html_theme = 'openstackdocs'
todo_include_todos = True
# Add any paths that contain templates here, relative to this directory.
@ -96,7 +103,7 @@ man_pages = []
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'nature'
#html_theme = 'nature'
# 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
@ -124,8 +131,8 @@ html_theme = 'nature'
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
git_cmd = "git log --pretty=format:'%ad, commit %h' --date=local -n1"
html_last_updated_fmt = os.popen(git_cmd).read()
#git_cmd = "git log --pretty=format:'%ad, commit %h' --date=local -n1"
#html_last_updated_fmt = os.popen(git_cmd).read()
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.

View File

@ -1,3 +1,3 @@
pbr>=0.6,<1.0
oslosphinx
sphinx>=1.1.2,<1.2
pbr
openstackdocstheme>=1.11.0 # Apache-2.0
sphinx>=1.6.2 # BSD