switch to openstackdocstheme
Change-Id: I3e64748706f0bfede27de1b74071b0f3ba29d5f2 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
ae1090d242
commit
3435de5629
|
@ -31,9 +31,16 @@ from jinja2.utils import Markup
|
||||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||||
extensions = ['sphinx.ext.todo',
|
extensions = ['sphinx.ext.todo',
|
||||||
'sphinx.ext.viewcode',
|
'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
|
todo_include_todos = True
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# 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
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
# a list of builtin themes.
|
# 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
|
# 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
|
# 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,
|
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
||||||
# using the given strftime format.
|
# using the given strftime format.
|
||||||
git_cmd = "git log --pretty=format:'%ad, commit %h' --date=local -n1"
|
#git_cmd = "git log --pretty=format:'%ad, commit %h' --date=local -n1"
|
||||||
html_last_updated_fmt = os.popen(git_cmd).read()
|
#html_last_updated_fmt = os.popen(git_cmd).read()
|
||||||
|
|
||||||
# If true, SmartyPants will be used to convert quotes and dashes to
|
# If true, SmartyPants will be used to convert quotes and dashes to
|
||||||
# typographically correct entities.
|
# typographically correct entities.
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
pbr>=0.6,<1.0
|
pbr
|
||||||
oslosphinx
|
openstackdocstheme>=1.11.0 # Apache-2.0
|
||||||
sphinx>=1.1.2,<1.2
|
sphinx>=1.6.2 # BSD
|
||||||
|
|
Loading…
Reference in New Issue