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

@@ -22,7 +22,6 @@ jobs:
- name: Gen_sphinx - name: Gen_sphinx
uses: ammaraskar/sphinx-action@master uses: ammaraskar/sphinx-action@master
with: with:
pre-build-command: "apt-get update -y --allow-releaseinfo-change && apt-get install -y git"
docs-folder: "docs/" docs-folder: "docs/"
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3

View File

@@ -19,7 +19,6 @@ jobs:
- name: Gen_sphinx - name: Gen_sphinx
uses: ammaraskar/sphinx-action@master uses: ammaraskar/sphinx-action@master
with: with:
pre-build-command: "apt-get update -y --allow-releaseinfo-change && apt-get install -y git"
docs-folder: "docs/" docs-folder: "docs/"
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:

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}" issues_commit_uri = "https://github.com/openzfs/zfs/commit/{commit}"
# Get absolute paths in 404 # Get absolute paths in 404
notfound_no_urls_prefix = True notfound_urls_prefix = '/openzfs-docs/'
notfound_url_prefix = '/openzfs-docs'

View File

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