diff options
author | Victor Morales <victor.morales@intel.com> | 2018-08-27 11:37:06 -0700 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2018-08-27 11:37:06 -0700 |
commit | a2dcefabf7239c4687c3ab01e03796e017211285 (patch) | |
tree | 951f37189a19f4607deb9d462f74cf81f728d020 /multivimbroker | |
parent | bc4187f075e89b200393babb3d89b207513b5dd1 (diff) |
Use python rstcheck to validate syntax
Given that this repository contains multiple documents for
specifications is necessary to implement a mechanism to validate
its syntax. The rstchecker tool ensures that it meets the
reStructured Text guidelines.
Change-Id: I6a5d30c78718ae83265f9302f3d514eacaff2ae1
Issue-ID: DOC-300
Signed-off-by: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'multivimbroker')
-rw-r--r-- | multivimbroker/tox.ini | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/multivimbroker/tox.ini b/multivimbroker/tox.ini index cda89e4..af3b3a5 100644 --- a/multivimbroker/tox.ini +++ b/multivimbroker/tox.ini @@ -26,3 +26,9 @@ commands = coverage erase {[testenv]commands} coverage xml -i + +[testenv:rstcheck] +deps = rstcheck +whitelist_externals = bash +commands = bash -c "find ../docs -not -path {toxinidir}/.tox/\* \ + -name \*.rst -type f -print0 | xargs -0 rstcheck --report warning" |