Do not build config example for readthedocs.org
For using oslo_config sphinx module need to install all requirements.
rtfd.org uses only test-requirements.txt
Change-Id: If0540753a0ca3e211332f90c7d4c8d55442b1d12
Closes-bug: #1560982
(cherry picked from commit 866514e170
)
This commit is contained in:
parent
65330b880e
commit
89c5936a9d
|
@ -37,11 +37,11 @@ sys.path.append(os.path.abspath('../bin'))
|
|||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.coverage',
|
||||
'sphinx.ext.viewcode', 'sphinxcontrib.httpdomain',
|
||||
'oslo_config.sphinxconfiggen']
|
||||
'sphinx.ext.viewcode', 'sphinxcontrib.httpdomain']
|
||||
|
||||
if not on_rtd:
|
||||
extensions.append('oslosphinx')
|
||||
extensions.append('oslo_config.sphinxconfiggen')
|
||||
|
||||
config_generator_config_file = 'config-generator.conf'
|
||||
config_sample_basename = 'sahara'
|
||||
|
|
Loading…
Reference in New Issue