Use upstream sphinx-notfound-page module instead of fork

We waited for changes to make 404s work properly
(absolute links with prefix).
It's in master now, use it.

Signed-off-by: George Melikov <mail@gmelikov.ru>
This commit is contained in:
George Melikov
2021-10-23 23:46:51 +03:00
parent 0fb4f1c6f0
commit 1f2ff88863
4 changed files with 2 additions and 6 deletions

View File

@@ -218,5 +218,4 @@ issues_pr_uri = "https://github.com/openzfs/zfs/pull/{pr}"
issues_commit_uri = "https://github.com/openzfs/zfs/commit/{commit}"
# Get absolute paths in 404
notfound_no_urls_prefix = True
notfound_url_prefix = '/openzfs-docs'
notfound_urls_prefix = '/openzfs-docs/'

View File

@@ -1,5 +1,4 @@
Sphinx
sphinx-issues
# sphinx-notfound-page with change for Github Pages https://github.com/readthedocs/sphinx-notfound-page/pull/94
git+https://github.com/gmelikov/sphinx-notfound-page.git@github_pages#egg=sphinx-notfound-page
sphinx-notfound-page>=0.5
sphinx-rtd-theme