Switch from oslosphinx to openstackdocstheme

Change-Id: I8dd550686036403849b2c2d110def7dcc789a486
This commit is contained in:
zhang.lei 2018-01-13 10:08:01 +00:00 committed by Major Hayden
parent ede3c8e200
commit cd03e88ffa

View File

@ -45,7 +45,7 @@ import pbr.version
# ones. # ones.
extensions = [ extensions = [
'sphinx.ext.autodoc', 'sphinx.ext.autodoc',
'oslosphinx', 'openstackdocstheme',
# Disabled, does not build # Disabled, does not build
# 'sphinxmark' # 'sphinxmark'
] ]
@ -118,13 +118,19 @@ todo_include_todos = False
# 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 = 'default' html_theme = 'openstackdocs'
# 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
# documentation. # documentation.
# Add any paths that contain custom themes here, relative to this directory. # Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = ["."]
# 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'
# -- Options for HTMLHelp output ------------------------------------------ # -- Options for HTMLHelp output ------------------------------------------
@ -189,9 +195,9 @@ if watermark == "":
watermark = "Pre-release" watermark = "Pre-release"
# -- Options for sphinxmark ----------------------------------------------- # -- Options for sphinxmark -----------------------------------------------
sphinxmark_enable = True #sphinxmark_enable = True
sphinxmark_div = 'docs-body' #sphinxmark_div = 'docs-body'
sphinxmark_image = 'text' #sphinxmark_image = 'text'
sphinxmark_text = watermark #sphinxmark_text = watermark
sphinxmark_text_color = (128, 128, 128) #sphinxmark_text_color = (128, 128, 128)
sphinxmark_text_size = 70 #sphinxmark_text_size = 70