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.7.tar.gz
(48.0 kB
view details)
Built Distribution
File details
Details for the file sphinx-notfound-page-0.7.tar.gz
.
File metadata
- Download URL: sphinx-notfound-page-0.7.tar.gz
- Upload date:
- Size: 48.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6da8b58c06b06d9c7c2aa277c29e0452c52c5568b69736a0ebfdafab47afbba4 |
|
MD5 | 70c2baf1ddbb79302d107a93cab8c36e |
|
BLAKE2b-256 | 544ed4a01821d5d222adf5309d08ec3ebb05f5d03bdcec4f01720fb2e7666e2f |
Provenance
File details
Details for the file sphinx_notfound_page-0.7-py3-none-any.whl
.
File metadata
- Download URL: sphinx_notfound_page-0.7-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd85444d9e720a8d0467b05af9bcf8b405e50df3c86743604f2c5a1da9147605 |
|
MD5 | 669e909c1d7742cb1cdf3898cdf1f90b |
|
BLAKE2b-256 | d84348080416e6420e543001281e90263b1672e825c242e23c6758bf0c3e4baf |