[api-ref] Remove temporary block in conf.py
os-api-ref 1.0 is released, remove temporary block from api-ref/source/conf.py. Change-Id: Ia6fa9ca467d2a24850ce3b9221bdd7f05ed94aa5
This commit is contained in:
parent
556084ebad
commit
bd31e7c566
@ -28,14 +28,6 @@ import subprocess
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
# TODO(Graham Hayes): Remove the following block of code when os-api-ref is
|
||||
# using openstackdocstheme
|
||||
|
||||
import os_api_ref
|
||||
|
||||
if getattr(os_api_ref, 'THEME', 'olsosphinx') == 'openstackdocstheme':
|
||||
# We are on the new version with openstackdocstheme support
|
||||
|
||||
extensions = [
|
||||
'os_api_ref',
|
||||
]
|
||||
@ -48,16 +40,6 @@ if getattr(os_api_ref, 'THEME', 'olsosphinx') == 'openstackdocstheme':
|
||||
"sidebar_mode": "toc",
|
||||
}
|
||||
|
||||
else:
|
||||
# We are on the old version without openstackdocstheme support
|
||||
|
||||
extensions = [
|
||||
'os_api_ref',
|
||||
'oslosphinx',
|
||||
]
|
||||
|
||||
# End temporary block
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
|
Loading…
x
Reference in New Issue
Block a user