Updated the keystone docs to follow the docs theme

Changed the existing keystone documenatation html theme to the
new openstackdocstheme. For reference, the same theme is being
used here, https://docs.openstack.org/admin-guide/.

Closes-Bug: #1692031
Change-Id: Ibf1b018e8ed38afa04d02ab033762d6b0ceab89b
This commit is contained in:
Samriddhi 2017-05-18 22:22:04 +05:30 committed by Samriddhi Jain
parent 6b24ba507c
commit f992b1ce42
2 changed files with 5 additions and 2 deletions

View File

@ -29,6 +29,8 @@ import subprocess
import sys import sys
import warnings import warnings
import openstackdocstheme
# NOTE(dstanek): adds _ to the builtins so keystone modules can be imported # NOTE(dstanek): adds _ to the builtins so keystone modules can be imported
__builtins__['_'] = str __builtins__['_'] = str
@ -135,8 +137,8 @@ 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_path = ["."] html_theme_path = [openstackdocstheme.get_html_theme_path()]
# html_theme = '_theme' 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

View File

@ -32,6 +32,7 @@ testrepository>=0.0.18 # Apache-2.0/BSD
testtools>=1.4.0 # MIT testtools>=1.4.0 # MIT
# For documentation # For documentation
openstackdocstheme>=1.5.0 # Apache-2.0
oslosphinx>=4.7.0 # Apache-2.0 oslosphinx>=4.7.0 # Apache-2.0
reno!=2.3.1,>=1.8.0 # Apache-2.0 reno!=2.3.1,>=1.8.0 # Apache-2.0