Follow the new PTI for document build

For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more details information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: If77e673564f65879f6f56000444ee7601b44e5bc
This commit is contained in:
Nguyen Van Trung 2018-07-09 15:02:05 +07:00
parent 50a8be7640
commit 5fbbac4e9a
4 changed files with 8 additions and 14 deletions

6
doc/requirements.txt Normal file
View File

@ -0,0 +1,6 @@
# doc build requirements
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
sphinxcontrib-httpdomain>=1.3.0 # BSD
reno>=2.5.0 # Apache-2.0
openstackdocstheme>=1.18.1 # Apache-2.0
os-api-ref>=1.4.0 # Apache-2.0

View File

@ -81,12 +81,6 @@ murano_policy_modify_actions =
remove-relation = murano.policy.modify.actions.default_actions:RemoveRelationAction
add-relation = murano.policy.modify.actions.default_actions:AddRelationAction
[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

@ -22,10 +22,3 @@ bandit>=1.1.0 # Apache-2.0
# Some of the tests use real MySQL and Postgres databases
PyMySQL>=0.7.6 # MIT License
psycopg2>=2.6.2 # LGPL/ZPL
# doc build requirements
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
sphinxcontrib-httpdomain>=1.3.0 # BSD
reno>=2.5.0 # Apache-2.0
openstackdocstheme>=1.18.1 # Apache-2.0
os-api-ref>=1.4.0 # Apache-2.0

View File

@ -52,7 +52,8 @@ commands =
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
[testenv:pyflakes]
basepython = python3