Merge "Follow the new PTI for document build"

This commit is contained in:
Zuul 2018-07-17 01:57:46 +00:00 committed by Gerrit Code Review
commit 04fd927f60
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