diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-01-17 09:48:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-17 09:48:56 +0100 |
| commit | 10f8763ac30e71df3d6c1fc6010de8b9acacbbd0 (patch) | |
| tree | 1ecb40f47af522954d52f7bc361ecd008b6ce912 /manage | |
| parent | 0c036ae2941bb203769d28fe2e26cc7f0488c910 (diff) | |
| parent | 27e3e5680001f86cbfb82c1813376e702814ab95 (diff) | |
Merge pull request #760 from searxng/update-readme
[mod] update README.rst / differences to searx
Diffstat (limited to 'manage')
| -rwxr-xr-x | manage | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -46,6 +46,10 @@ while IFS= read -r line; do YAMLLINT_FILES+=("$line") done <<< "$(git ls-files './tests/*.yml' './searx/*.yml' './utils/templates/etc/searxng/*.yml')" +RST_FILES=( + 'README.rst' +) + PYLINT_SEARXNG_DISABLE_OPTION="\ I,C,R,\ W0105,W0212,W0511,W0603,W0613,W0621,W0702,W0703,W1401,\ @@ -103,6 +107,7 @@ test.: unit : run unit tests coverage : run unit tests with coverage robot : run robot test + rst : test .rst files incl. README.rst clean : clean intermediate test stuff themes.: all : build all themes @@ -707,6 +712,13 @@ test.robot() { dump_return $? } +test.rst() { + build_msg TEST "[reST markup] ${RST_FILES[@]}" + for rst in "${RST_FILES[@]}"; do + pyenv.cmd rst2html.py --halt error "$rst" > /dev/null || die 42 "fix issue in $rst" + done +} + test.clean() { build_msg CLEAN "test stuff" rm -rf geckodriver.log .coverage coverage/ |