File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 4242 python -m pip install --upgrade pip
4343
4444 - name : Render PEPs
45- run : make dirhtml JOBS=$(nproc)
45+ run : make dirhtml pagefind JOBS=$(nproc)
4646
4747 # remove the .doctrees folder when building for deployment as it takes two thirds of disk space
4848 - name : Clean up files
Original file line number Diff line number Diff line change 1313 - asdf plugin add uv
1414 - asdf install uv latest
1515 - asdf global uv latest
16- - make dirhtml JOBS=$(nproc) BUILDDIR=_readthedocs/html
16+ - make dirhtml pagefind JOBS=$(nproc) BUILDDIR=_readthedocs/html
1717
1818sphinx :
1919 builder : dirhtml
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ ALLSPHINXOPTS = --builder $(BUILDER) \
2222.PHONY : html
2323html : venv
2424 $(SPHINXBUILD ) $(ALLSPHINXOPTS )
25- $(VENVDIR ) /bin/python3 -m pagefind --site $(BUILDDIR ) --verbose
2625
2726# # htmlview to open the index page built by the html target in your browser
2827.PHONY : htmlview
@@ -43,6 +42,11 @@ dirhtml: BUILDER = dirhtml
4342dirhtml : html
4443 mv $(BUILDDIR ) /404/index.html $(BUILDDIR ) /404.html
4544
45+ # # pagefind to rebuild the search index
46+ .PHONY : pagefind
47+ pagefind : venv
48+ $(VENVDIR ) /bin/python3 -m pagefind --site $(BUILDDIR ) --verbose
49+
4650# # linkcheck to check validity of links within PEP sources
4751.PHONY : linkcheck
4852linkcheck : BUILDER = linkcheck
You can’t perform that action at this time.
0 commit comments