Merge "Follow the new PTI for document build"

This commit is contained in:
Zuul 2018-07-11 15:42:06 +00:00 committed by Gerrit Code Review
commit 5ce7e25d15
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
@ -19,5 +17,4 @@ testtools>=2.2.0 # MIT
redis>=2.10.0 # MIT
stestr>=2.0.0 # Apache-2.0
hiredis>=0.2.0 # BSD
reno>=2.5.0 # Apache-2.0
PrettyTable<0.8,>=0.7.2 # BSD

View File

@ -49,6 +49,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]