Merge "omit openstackdocstheme for READTHEDOCS"

This commit is contained in:
Zuul 2017-10-31 05:20:08 +00:00 committed by Gerrit Code Review
commit 0c17f4382a
1 changed files with 7 additions and 1 deletions

View File

@ -24,12 +24,18 @@ sys.path.insert(0, os.path.abspath('./'))
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.todo',
'openstackdocstheme',
#'openstackdocstheme',
#'sphinx.ext.intersphinx',
'oslo_config.sphinxext',
'oslo_config.sphinxconfiggen',
]
# Don't use default openstack theme, for readthedocs
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd:
extensions.append('openstackdocstheme')
# openstackdocstheme options
repository_name = 'openstack/congress'
bug_project = 'congress'