Sphinx extension to build a 404 page with absolute URLs
Project description
sphinx-notfound-page
Create a custom 404 page with absolute URLs hardcoded.
Installation
pip install sphinx-notfound-page
Configuration
Add this extension in your conf.py file as:
extensions = [
# ... other extensions here
'notfound.extension',
]
Documentation
Check out the full documentation at https://sphinx-notfound-page.readthedocs.io/
Thanks
Strongly based on @ericholscher’s solution from https://github.com/readthedocs/readthedocs.org/issues/353
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sphinx-notfound-page-0.8.tar.gz
(843.7 kB
view details)
Built Distribution
File details
Details for the file sphinx-notfound-page-0.8.tar.gz
.
File metadata
- Download URL: sphinx-notfound-page-0.8.tar.gz
- Upload date:
- Size: 843.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39bf5b99e1fbf6164631ecac2b58038f08e0ab9278c563076aadd1cf04b6bb7a |
|
MD5 | 2e1563e824b14391a065dae6dca39f91 |
|
BLAKE2b-256 | 226f15b7e282997c4a0e7273c8751dea84a673055624bae94a3c413e37284bbc |
Provenance
File details
Details for the file sphinx_notfound_page-0.8-py3-none-any.whl
.
File metadata
- Download URL: sphinx_notfound_page-0.8-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1901e01df9931922e87ef1f967042322b06a65790132cbd393861261e023b974 |
|
MD5 | 0c0813492430f4ab856ab3bd503f3b4d |
|
BLAKE2b-256 | 6d5f0fd1927e7f6e5abd576d9b3d5da0c2d32bfc2577e53a2c63fb38c6c3a259 |