murano-aget PTI docs build

Change-Id: I1959abc012d9d3bb55cd79adc8fee7976fc48041
This commit is contained in:
zhurong 2018-07-30 10:40:13 +08:00
parent 47559e98c5
commit f69ddf31e3
4 changed files with 13 additions and 11 deletions

5
doc/requirements.txt Normal file
View File

@ -0,0 +1,5 @@
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
openstackdocstheme>=1.18.1 # Apache-2.0
sphinxcontrib-pecanwsme>=0.8.0 # Apache-2.0
sphinxcontrib-httpdomain>=1.3.0 # BSD
reno>=2.5.0 # Apache-2.0

View File

@ -35,12 +35,6 @@ oslo.config.opts =
console_scripts =
muranoagent = muranoagent.cmd.run:main
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source
warning-is-error = 1
[egg_info]
tag_build =
tag_date = 0

View File

@ -8,8 +8,3 @@ mock>=2.0.0 # BSD
testtools>=2.3.0 # MIT
stestr>=2.0.0 # Apache-2.0
oslotest>=3.3.0 # Apache-2.0
# doc build requirements
openstackdocstheme>=1.20.0 # Apache-2.0
sphinx>=1.6.5,!=1.6.6,!=1.6.7 # BSD
reno>=2.7.0 # Apache-2.0

View File

@ -39,6 +39,10 @@ commands =
[testenv:docs]
basepython = python3
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
[testenv:pyflakes]
@ -52,6 +56,10 @@ commands = oslo-config-generator --config-file etc/oslo-config-generator/muranoa
[testenv:releasenotes]
basepython = python3
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[flake8]