diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-05-01 17:20:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-01 17:20:28 +0200 |
| commit | 2a7ba3d6e270effdd69975517be4c84790757e96 (patch) | |
| tree | 86f23b10331ba8405e0224b8aba7accfb5f55fcc /Makefile | |
| parent | 209980937428fc53cf26a3d22df138cc291d50c4 (diff) | |
| parent | 552ee29eb1151ddec0b652db8d974abfa38440bd (diff) | |
| download | psutil-2a7ba3d6e270effdd69975517be4c84790757e96.tar.gz | |
Merge pull request #1036 from himanshub16/check-broken-links
Check broken links
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -22,7 +22,8 @@ DEPS = \ setuptools \ sphinx \ twine \ - unittest2 + unittest2 \ + requests # In not in a virtualenv, add --user options for install commands. INSTALL_OPTS = `$(PYTHON) -c "import sys; print('' if hasattr(sys, 'real_prefix') else '--user')"` @@ -278,3 +279,7 @@ doc: cd docs && make html && cd _build/html/ && zip doc.zip -r . mv docs/_build/html/doc.zip . @echo "done; now manually upload doc.zip from here: https://pypi.python.org/pypi?:action=pkg_edit&name=psutil" + +# check whether the links mentioned in some files are valid. +check-broken-links: + git ls-files | grep \\.rst$ | xargs $(PYTHON) scripts/internal/check_broken_links.py |
