mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
Fix custom 404
This commit is contained in:
@@ -59,6 +59,10 @@ dirhtml:
|
||||
@echo
|
||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
|
||||
|
||||
netlify: dirhtml
|
||||
@cp $(BUILDDIR)/dirhtml/404/index.html $(BUILDDIR)/dirhtml/404.html
|
||||
@cp _extra/* $(BUILDDIR)/dirhtml/
|
||||
|
||||
singlehtml:
|
||||
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
|
||||
@echo
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
# https://www.netlify.com/docs/redirects/
|
||||
|
||||
|
||||
# Redirect internal URL to python-guide.org
|
||||
# https://python-guide.netlify.com/* https://docs.python-guide.org/:splat 301!
|
||||
Reference in New Issue
Block a user