Skip to content

Commit 2b50186

Browse files
authored
Travis CI: run rstlint.py in the docs job (#68)
Currently, http://buildbot.python.org/all/buildslaves/ware-docs buildbot is only run as post-commit. For example, bpo-29521 (PR#41) introduced two warnings, unnotified by the Travis CI docs job. Modify the docs job to run toosl/rstlint.py. Fix also the two minor warnings which causes the buildbot slave to fail.
1 parent 3d707be commit 2b50186

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ matrix:
3434
- make venv PYTHON=python3
3535
script:
3636
- make html SPHINXBUILD="./venv/bin/python3 -m sphinx" SPHINXOPTS="-q"
37+
- python3 tools/rstlint.py -i tools -i venv
3738
- os: linux
3839
language: c
3940
compiler: clang

Doc/faq/windows.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ this respect, and is easily configured to use spaces: Take :menuselection:`Tools
300300
--> Options --> Tabs`, and for file type "Default" set "Tab size" and "Indent
301301
size" to 4, and select the "Insert spaces" radio button.
302302

303-
Python raises :exc:`IndentationError` or :exc:`TabError` if mixed tabs
303+
Python raises :exc:`IndentationError` or :exc:`TabError` if mixed tabs
304304
and spaces are causing problems in leading whitespace.
305-
You may also run the :mod:`tabnanny` module to check a directory tree
305+
You may also run the :mod:`tabnanny` module to check a directory tree
306306
in batch mode.
307307

308308

0 commit comments

Comments
 (0)