Fix build autogenerated config files doc on RTD
This commit changes working dir from which sphinx-build is run when using tox to make it working in same way as it is done on readthedocs.org when documentation is build. This commit also fixes path to oslo-config-generator config file that it will be fine for spinx-build to autogenerate config. Change-Id: I14982b3cbaa0bc87390e8694c4c866a3b7c375fa
This commit is contained in:
parent
01d5d02543
commit
4b91c2baad
@ -3,4 +3,4 @@ tobiko.conf
|
|||||||
===========
|
===========
|
||||||
|
|
||||||
.. show-options::
|
.. show-options::
|
||||||
:config-file: etc/oslo-config-generator/tobiko.conf
|
:config-file: ../../etc/oslo-config-generator/tobiko.conf
|
||||||
|
3
tox.ini
3
tox.ini
@ -152,7 +152,8 @@ deps = -r{toxinidir}/doc/requirements.txt
|
|||||||
basepython = {[docs]basepython}
|
basepython = {[docs]basepython}
|
||||||
envdir = {[docs]envdir}
|
envdir = {[docs]envdir}
|
||||||
deps = {[docs]deps}
|
deps = {[docs]deps}
|
||||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
changedir = doc/source
|
||||||
|
commands = sphinx-build -W -b html . ../build/html
|
||||||
|
|
||||||
|
|
||||||
[testenv:linkcheck]
|
[testenv:linkcheck]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user