Set absolute paths in 404 page

Signed-off-by: George Melikov <mail@gmelikov.ru>
This commit is contained in:
George Melikov
2020-05-29 15:54:13 +03:00
parent 541ad80d18
commit 4d3d0bdf55
4 changed files with 9 additions and 2 deletions

View File

@@ -46,6 +46,7 @@ extensions = [
'sphinx.ext.intersphinx',
"sphinx_issues",
"sphinx_rtd_theme",
"notfound.extension"
]
# Add any paths that contain templates here, relative to this directory.
@@ -214,3 +215,7 @@ issues_github_path = "openzfs/zfs"
issues_uri = "https://github.com/openzfs/zfs/issues/{issue}"
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'