diff options
author | mrichomme <morgan.richomme@orange.com> | 2020-04-13 18:46:35 +0200 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2020-04-15 12:34:58 +0000 |
commit | a958b986af7b8f17ad23e5c31c7ff719c153021e (patch) | |
tree | f5b26163c7579fb68cadebd7a0d49e5d39073e9d /tox.ini | |
parent | 398c9b251dc910c4cffc4fc5a3c2b8b221980c91 (diff) |
Fix rst errors
- Modify the linter to use sphinx linters (no coala bean)
- Fix all broken links
- fix minor rst issue
- Add regex in ignore link (for ONAP URL and frankfurt doc)
The rst target defined in tox will execute 3 steps:
- local build of the documentation
- check of the url
Note 1: for the moment the Warning have not been turned into Error
Note 2: frankfurt exeption shall be removed when frankfurt branch is available
Issue-ID: INT-1523
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I6d7ad9d293a1b5c01f05a021d9a6f3767d04e62f
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -38,8 +38,10 @@ commands = [testenv:rst] commands_pre = /bin/sh -c "git --no-pager diff HEAD HEAD^ --name-only '*.rst' > /tmp/.coalist_rst" +deps = -r ./docs/requirements-docs.txt commands = - /bin/bash -c "coala --non-interactive --disable-caching --no-autoapply-warn rst --files $(</tmp/.coalist_rst) \ " + /bin/sh -c "sphinx-build -n -b html docs docs/build/html $(</tmp/.coalist_rst)" + /bin/sh -c "sphinx-build -n -b linkcheck docs docs/build/linkcheck $(</tmp/.coalist_rst)" [testenv:md] commands_pre = |