omit openstackdocstheme for READTHEDOCS
To allow readthedocs build to succeed. Change-Id: I33ae52f1354c2a7ee1bf9367d699d85dcfabb28f
This commit is contained in:
parent
1335688b5f
commit
a168c9a4be
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue