Enable warning-is-error in doc build

Clean up python build warnings to enable warning-is-error.
Part of doc-migration work

Change-Id: Iee76a112945a3619de41000e5022eaba195b96c0
This commit is contained in:
Akihiro Motoki 2017-07-05 04:52:49 +09:00
parent 8d7cc87711
commit fe7cd58a5d
5 changed files with 18 additions and 11 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@ cover/
covhtml/
dist/
doc/build
doc/source/api/
etc/*.sample
*.DS_Store
*.pyc

View File

@ -21,9 +21,10 @@ Testing and Usage Information:
:maxdepth: 1
devstack
API reference <api/modules>
==================
Indices and tables
==================
.. rubric:: Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

View File

@ -37,9 +37,10 @@ class FwaasDriverBase(object):
The policy is applied on traffic ingressing/egressing interfaces on
the trusted zone. This implies that policy will be applied for traffic
passing from
- trusted to untrusted zones
- untrusted to trusted zones
- trusted to trusted zones
- trusted to untrusted zones
- untrusted to trusted zones
- trusted to trusted zones
Policy WILL NOT be applied for traffic from untrusted to untrusted zones.
This is not a problem in Havana release as there is only one interface

View File

@ -37,9 +37,10 @@ class FwaasDriverBase(object):
The policy is applied on traffic ingressing/egressing interfaces on
the trusted zone. This implies that policy will be applied for traffic
passing from
- trusted to untrusted zones
- untrusted to trusted zones
- trusted to trusted zones
- trusted to untrusted zones
- untrusted to trusted zones
- trusted to trusted zones
Policy WILL NOT be applied for traffic from untrusted to untrusted zones.
This is not a problem in Havana release as there is only one interface

View File

@ -59,6 +59,7 @@ neutron_fwaas.services.firewall.drivers.linux =
all_files = 1
build-dir = doc/build
source-dir = doc/source
warning-is-error = 1
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
@ -78,5 +79,7 @@ input_file = neutron_fwaas/locale/neutron_fwaas.pot
universal = 1
[pbr]
autodoc_index_modules = True
warnerrors = True
autodoc_tree_index_modules = True
autodoc_tree_excludes =
setup.py
neutron_fwaas/tests