From a2dcefabf7239c4687c3ab01e03796e017211285 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Mon, 27 Aug 2018 11:37:06 -0700 Subject: 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 --- multivimbroker/tox.ini | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'multivimbroker/tox.ini') 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" -- cgit 1.2.3-korg