Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit728b9f1

Browse files
committed
Fix custom 404
1 parente1a9650 commit728b9f1

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

‎docs/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ dirhtml:
5959
@echo
6060
@echo"Build finished. The HTML pages are in$(BUILDDIR)/dirhtml."
6161

62+
netlify: dirhtml
63+
@cp$(BUILDDIR)/dirhtml/404/index.html$(BUILDDIR)/dirhtml/404.html
64+
@cp _extra/*$(BUILDDIR)/dirhtml/
65+
6266
singlehtml:
6367
$(SPHINXBUILD) -b singlehtml$(ALLSPHINXOPTS)$(BUILDDIR)/singlehtml
6468
@echo

‎docs/_extra/_redirects

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# https://www.netlify.com/docs/redirects/
2+
3+
4+
# Redirect internal URL to python-guide.org
5+
# https://python-guide.netlify.com/* https://docs.python-guide.org/:splat 301!

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp