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: Iec12cf7d3d9a84ff6ef4550d8453e822e80bc3c7
This commit is contained in:
Nguyen Van Trung 2018-07-09 09:14:33 +07:00
parent 1d0bb1761d
commit cd628426cd
6 changed files with 10 additions and 11 deletions

3
doc/requirements.txt Normal file
View File

@ -0,0 +1,3 @@
sphinx!=1.6.6,!=1.6.7,>=1.6.5 # BSD
openstackdocstheme>=1.18.1 # Apache-2.0
reno>=2.5.0 # Apache-2.0

View File

@ -1,3 +1,7 @@
==============
DOCKER INSTALL
==============
Building the image
------------------
* Run the following command

View File

@ -15,6 +15,7 @@ Contents:
installation
testing_and_debugging
distributed_dragonflow
docker_install
distributed_dhcp
pluggable_db
pluggable_pubsub

View File

@ -26,14 +26,6 @@ data_files =
etc/neutron/ =
etc/dragonflow_datapath_layout.yaml
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1
[upload_sphinx]
upload-dir = doc/build/html
[compile_catalog]
directory = dragonflow/locale
domain = dragonflow

View File

@ -9,8 +9,6 @@ mock>=2.0.0 # BSD
keystoneauth1>=3.4.0 # Apache-2.0
python-pytun>=2.2.1 # MIT
python-subunit>=1.3.0 # Apache-2.0/BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.5 # BSD
openstackdocstheme>=1.18.1 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
testresources>=2.0.0 # Apache-2.0/BSD
@ -18,5 +16,4 @@ testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
redis>=2.10.0 # MIT
hiredis>=0.2.0 # BSD
reno>=2.5.0 # Apache-2.0
PrettyTable<0.8,>=0.7.2 # BSD

View File

@ -44,6 +44,8 @@ commands =
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:docs]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
[flake8]