Update the doc theme

Change-Id: I0ed5cf27ecd43b9374f0fe6970dfa0cf85ad3583
This commit is contained in:
Guoqiang Ding 2017-11-15 09:48:59 +08:00
parent 1cdb94db64
commit 8aef684fdd
3 changed files with 11 additions and 2 deletions
doc/source
releasenotes/source
test-requirements.txt

@ -41,7 +41,7 @@ import os
# ones.
extensions = [
'sphinx.ext.autodoc',
'oslosphinx',
'openstackdocstheme',
'sphinxmark'
]
@ -69,6 +69,11 @@ role_name = 'os_horizon'
target_name = 'openstack-ansible-' + role_name
title = 'OpenStack-Ansible Documentation: ' + role_name + 'role'
# openstackdocstheme options
repository_name = 'openstack/openstack-ansible-os_horizon'
bug_project = 'openstack-ansible-os_horizon'
bug_tag = ''
# The link to the browsable source code (for the left hand menu)
oslosphinx_cgit_link = (
"https://git.openstack.org/cgit/openstack/{}".format(target_name)

@ -62,6 +62,11 @@ role_name = 'os_horizon'
target_name = 'openstack-ansible-' + role_name
title = 'OpenStack-Ansible Release Notes: ' + role_name + 'role'
# openstackdocstheme options
repository_name = 'openstack/openstack-ansible-os_horizon'
bug_project = 'openstack-ansible-os_horizon'
bug_tag = ''
# openstackdocstheme options
repository_name = 'openstack/' + target_name
bug_project = project.lower()

@ -10,7 +10,6 @@ ndg-httpsclient>=0.4.2;python_version<'3.0' # BSD
# this is required for the docs build jobs
sphinx>=1.6.2 # BSD
oslosphinx>=4.7.0 # Apache-2.0
openstackdocstheme>=1.17.0 # Apache-2.0
doc8>=0.6.0 # Apache-2.0
reno>=2.5.0 # Apache-2.0