diff options
author | Colleen Murphy <colleen.murphy@suse.de> | 2019-07-05 16:38:15 -0700 |
---|---|---|
committer | Colleen Murphy <colleen.murphy@suse.de> | 2019-07-05 16:41:34 -0700 |
commit | ab2eb59068d1f486df40573da93fb167c859429e (patch) | |
tree | a676ee58e435941f8d9e53e448e9b56a21167bd3 /doc/source | |
parent | 8980f25545cb5e781dbe484b577f47455b775611 (diff) | |
download | pycadf-ab2eb59068d1f486df40573da93fb167c859429e.tar.gz |
Removes temporary fix for doc generation
A temporary fix was added to get around a bug in how pbr handles
its autodoc_tree_index_modules setting. Since this bug is fixed we no
longer need the work around.
This change is needed since the workaround is now incompatible with the
latest version of Sphinx.
See also[1][2].
[1] https://review.opendev.org/191633
[2] https://review.opendev.org/121667
Change-Id: Idf9dc73d99b4233f49effe24aa047959b1a2ef2c
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/conf.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index 79129df..ea08a5b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -10,10 +10,7 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys, os - -# NOTE(gordc): path for Sphinx ext.apidoc -sys.path.insert(0, os.path.abspath('..')) +import os # This is required for ReadTheDocs.org, but isn't a bad idea anyway. os.environ['DJANGO_SETTINGS_MODULE'] = 'openstack_dashboard.settings' @@ -37,7 +34,6 @@ extensions = [ 'sphinx.ext.coverage', 'sphinx.ext.viewcode', 'openstackdocstheme', - 'ext.apidoc' ] # Add any paths that contain templates here, relative to this directory. |