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
Built Distribution
File details
Details for the file sphinx-notfound-page-0.5.tar.gz
.
File metadata
- Download URL: sphinx-notfound-page-0.5.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ff34a26140ede859dc9bcc216107a5e27dcd0076a1b1defaa31f61fb67b489c |
|
MD5 | 24a48ccf1237801911f7147d1f8c2d4b |
|
BLAKE2b-256 | 56a7fe64804b8d420df815ee53c4dc4c7ad68da4a60b5a8ab4ef4b4d80f49c71 |
Provenance
File details
Details for the file sphinx_notfound_page-0.5-py3-none-any.whl
.
File metadata
- Download URL: sphinx_notfound_page-0.5-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 557ad998d7a2897a5da7ba9ed0762a8f535c4250c49325db7b105e69c386f690 |
|
MD5 | 4371ac6ac8feb20b5fe9efb52ee2214f |
|
BLAKE2b-256 | 37f19abe920c90569f47ae7b1f8319226aa834acb12554742292135a2a6aa309 |