Skip to main content

Sphinx extension to build a 404 page with absolute URLs

Project description

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/rtfd/readthedocs.org/issues/353

Project details


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.3.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

sphinx_notfound_page-0.3-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file sphinx-notfound-page-0.3.tar.gz.

File metadata

  • Download URL: sphinx-notfound-page-0.3.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.3

File hashes

Hashes for sphinx-notfound-page-0.3.tar.gz
Algorithm Hash digest
SHA256 c509517a0d36cd7d3e1b2cfffae46e824d309eb25cbacda898d94e8755fab377
MD5 4bd3d5534de23467f7d4fb992b45b50c
BLAKE2b-256 eea71f5559ba68749f74315b0b663f4b30248bbe6bb5d5bfe7d6f9cf65ecc774

See more details on using hashes here.

Provenance

File details

Details for the file sphinx_notfound_page-0.3-py3-none-any.whl.

File metadata

  • Download URL: sphinx_notfound_page-0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.3

File hashes

Hashes for sphinx_notfound_page-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3a0f66e0699739ece9f7edb92c92944a10d50af1915b1afc84ab0a132b860aaa
MD5 d79405535050e5812978ea48e6726f3b
BLAKE2b-256 672c35a642226f2d889f01499b8ec71a6660a5dcae31188e7319174dd0ab95d7

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page