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:
1
.github/workflows/publish.yml
vendored
1
.github/workflows/publish.yml
vendored
@@ -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
|
||||||
|
|||||||
1
.github/workflows/pull_request.yml
vendored
1
.github/workflows/pull_request.yml
vendored
@@ -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:
|
||||||
|
|||||||
@@ -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'
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user