Check docs on Travis, take two
We don't regenerate the authors there, as that doesn't work due to Travis cloning with --depth=50
This commit is contained in:
parent
172611a1b9
commit
236572e0f5
@ -4,5 +4,8 @@ if [[ $DOCKER ]]; then
|
|||||||
docker build -t img misc/docker/$DOCKER
|
docker build -t img misc/docker/$DOCKER
|
||||||
docker run --privileged -v $PWD:/outside img
|
docker run --privileged -v $PWD:/outside img
|
||||||
else
|
else
|
||||||
tox -e $TESTENV
|
args=()
|
||||||
|
[[ $TESTENV == docs ]] && args=('--no-authors')
|
||||||
|
|
||||||
|
tox -e $TESTENV "${args[@]}"
|
||||||
fi
|
fi
|
||||||
|
@ -491,8 +491,9 @@ def main():
|
|||||||
generate_settings('doc/help/settings.asciidoc')
|
generate_settings('doc/help/settings.asciidoc')
|
||||||
print("Generating command help...")
|
print("Generating command help...")
|
||||||
generate_commands('doc/help/commands.asciidoc')
|
generate_commands('doc/help/commands.asciidoc')
|
||||||
print("Generating authors in README...")
|
if '--no-authors' not in sys.argv:
|
||||||
regenerate_authors('README.asciidoc')
|
print("Generating authors in README...")
|
||||||
|
regenerate_authors('README.asciidoc')
|
||||||
if '--html' in sys.argv:
|
if '--html' in sys.argv:
|
||||||
asciidoc2html.main()
|
asciidoc2html.main()
|
||||||
|
|
||||||
|
2
tox.ini
2
tox.ini
@ -202,7 +202,7 @@ deps =
|
|||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
{envpython} scripts/link_pyqt.py --tox {envdir}
|
{envpython} scripts/link_pyqt.py --tox {envdir}
|
||||||
{envpython} scripts/dev/src2asciidoc.py
|
{envpython} scripts/dev/src2asciidoc.py {posargs}
|
||||||
{envpython} scripts/dev/check_doc_changes.py
|
{envpython} scripts/dev/check_doc_changes.py
|
||||||
{envpython} scripts/asciidoc2html.py {posargs}
|
{envpython} scripts/asciidoc2html.py {posargs}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user