We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
make htmllive
1 parent 9afa294 commit f7ccb48Copy full SHA for f7ccb48
Makefile
@@ -26,6 +26,12 @@ html: venv
26
htmlview: html
27
$(PYTHON) -c "import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/index.html'))"
28
29
+## htmllive to rebuild and reload HTML files in your browser
30
+.PHONY: htmllive
31
+htmllive: SPHINXBUILD = $(VENVDIR)/bin/sphinx-autobuild
32
+htmllive: SPHINXERRORHANDLING = --re-ignore="/\.idea/|/venv/|/pep-0000.rst|/topic/"
33
+htmllive: html
34
+
35
## dirhtml to render PEPs to "index.html" files within "pep-NNNN" directories
36
.PHONY: dirhtml
37
dirhtml: BUILDER = dirhtml
requirements.txt
@@ -5,6 +5,8 @@ Pygments >= 2.9.0
5
Sphinx >= 5.1.1, != 6.1.0, != 6.1.1
6
docutils >= 0.19.0
7
8
+sphinx-autobuild
9
10
# For tests
11
pytest
12
pytest-cov
0 commit comments