Skip to content

Commit 9dd4932

Browse files
committed
Move 404 page in Makefile
1 parent d95a11d commit 9dd4932

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/render.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ jobs:
4242
python -m pip install --upgrade pip
4343
4444
- name: Render PEPs
45-
run: |
46-
make dirhtml JOBS=$(nproc)
47-
mv build/404/index.html build/404.html
45+
run: make dirhtml JOBS=$(nproc)
4846

4947
# remove the .doctrees folder when building for deployment as it takes two thirds of disk space
5048
- name: Clean up files

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ htmllive: _ensure-sphinx-autobuild html
4040
.PHONY: dirhtml
4141
dirhtml: BUILDER = dirhtml
4242
dirhtml: html
43+
dirhtml: mv $(BUILDDIR)/404/index.html $(BUILDDIR)/404.html
4344

4445
## linkcheck to check validity of links within PEP sources
4546
.PHONY: linkcheck

0 commit comments

Comments
 (0)