Add new option --build-file-exception to openstack-doc-test

This allows to ignore files just for syntax and niceness checks
but still use them for calculation of dependencies.

This allows us to handle the training-guide where st-training-guides.xml
should be black-listed for syntax checks but needs to be used for
dependency calculation in delete and build checks.

Change-Id: Ib183e635b623218083447e85fe8a6b0cb278a9e6
This commit is contained in:
Andreas Jaeger
2014-03-02 10:48:08 +01:00
parent fd14bdc01e
commit 3ee6441938
3 changed files with 35 additions and 8 deletions

View File

@@ -25,6 +25,11 @@ OPTIONS
Special handling for api-site and other API repositories
to handle WADL.
**--build-file-exception BUILD_FILE_EXCEPTION**
File that will be skipped during delete and build checks to
generate depenencies. This should be done for invalid XML files
only.
**--check-build**
Try to build books using modified files.
@@ -48,7 +53,7 @@ OPTIONS
Enable debug code.
**--file-exception FILE_EXCEPTION**
File that will be skipped during validation.
File that will be skipped during niceness and syntax validation.
**--force**
Force the validation of all files and build all books.