aboutsummaryrefslogtreecommitdiff
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2022-02-10 08:59:04 +0100
committerGitHub <noreply@github.com>2022-02-10 08:59:04 +0100
commitb878b3af0b3a9e3ab3ffcaf90a4066dfb3bb7cac (patch)
treeecf60e1ac5b98d751865622cc48364cf582b7d9c /Doc/Makefile
parentb71dc71905ab674ccaa4a56230d17a28f61c325c (diff)
downloadcpython3-b878b3af0b3a9e3ab3ffcaf90a4066dfb3bb7cac.tar.gz
bpo-42238: [doc] moving from rstlint.py to sphinx-lint. (GH-31097)
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index e60aa3427f..61a7ce0d09 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -7,6 +7,7 @@
PYTHON = python3
VENVDIR = ./venv
SPHINXBUILD = PATH=$(VENVDIR)/bin:$$PATH sphinx-build
+SPHINXLINT = PATH=$(VENVDIR)/bin:$$PATH sphinx-lint
BLURB = PATH=$(VENVDIR)/bin:$$PATH blurb
PAPER =
SOURCES =
@@ -214,8 +215,8 @@ dist:
rm dist/python-$(DISTVERSION)-docs-texinfo.tar
check:
- $(PYTHON) tools/rstlint.py -i tools -i $(VENVDIR) -i README.rst
- $(PYTHON) tools/rstlint.py ../Misc/NEWS.d/next/
+ $(SPHINXLINT) -i tools -i $(VENVDIR) -i README.rst
+ $(SPHINXLINT) ../Misc/NEWS.d/next/
serve:
$(PYTHON) ../Tools/scripts/serve.py build/html $(SERVE_PORT)