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.
code: https://gitlab.com/documatt/sphinx-reredirects where issues and contributions are welcome
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.
Legal
Forward Arrow icon by Icons8.
sphinx-reredirects is licensed under BSD3.
Release files for sphinx-reredirects 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sphinx_reredirects-0.1.1.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinx_reredirects-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.7 kB
Release files / sphinx_reredirects-0.1.1.tar.gz
| Download URL | sphinx_reredirects-0.1.1.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4519a45d316c921c46327b72fe410e1e7a32fe51694741296020b0ca008fbcee
|
|
BLAKE2b-256 checksum How to use checksums |
b53a195268759a3ff138f2ff32d6535f94cb9199671ed4832142a6a1d6f1a3fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / sphinx_reredirects-0.1.1-py3-none-any.whl
| Download URL | sphinx_reredirects-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fab84a6e859db462c7d79eb03043eeea8d5efe1c3d078ad05e097f8b17f45641
|
|
BLAKE2b-256 checksum How to use checksums |
bdd35b71d61d5584e39d5f1c67bab0f6d1f862760aa412ed9dcd24f8bd9d26b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|