Skip to main content

Handles redirects for moved pages in Sphinx documentation projects

Project description

logo.png

sphinx-reredirects is the extension for Sphinx documentation projects that handles redirects for moved pages. It generates HTML pages with meta refresh redirects to the new page location to prevent 404 errors if you rename or move your documents.

Good URLs are never changing URLs. But if you must, sphinx-reredirects helps you manage redirects with ease and from the single place in project’s conf.py. For example, if you rename document start to intro, and tell it to sphinx-reredirects, it will generate HTML page start.html with <meta http-equiv="refresh" content="0; url=intro.html">. The extension supports wildcards and moving to different domain too.

About

sphinx-reredirects started from the urge to manage redirects for all documents during moving our Tech writer at work blog to the new domain https://techwriter.documatt.com.

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_reredirects-0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

sphinx_reredirects-0.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_reredirects-0.0.1.tar.gz.

File metadata

  • Download URL: sphinx_reredirects-0.0.1.tar.gz
  • Upload date:
  • Size: 3.3 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.8.2

File hashes

Hashes for sphinx_reredirects-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5d26f90ba478d93f701ef21f0d20415c6083394e491834328da6a3ba3ce449f9
MD5 b173a0723b42f60437069ef763fb2cf6
BLAKE2b-256 5f117ac124a775b19adfc83f45f88220561fa619d121d0d1306cf49eafe73194

See more details on using hashes here.

File details

Details for the file sphinx_reredirects-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sphinx_reredirects-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.8.2

File hashes

Hashes for sphinx_reredirects-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6204b184df5f335f247c2489482bd2e60190dc92333189d77223cd704bf1cd45
MD5 4c600550ef0617c65e52a5c8799ad39f
BLAKE2b-256 284ff8ccffe7e27d30bb44bbc72d1aa28458c61e0a33d31aa1f50a7c5e732d55

See more details on using hashes here.

Supported by

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