Skip to content

The extension for Sphinx documentation projects that handles redirects for moved pages. Based on the its configuration, the extension generates HTML pages with meta refresh redirects to the new page location.

License

Notifications You must be signed in to change notification settings

documatt/sphinx-reredirects

Repository files navigation

sphinx-reredirects

sphinx-reredirects

The sphinx-reredirects is the extension for Sphinx documentation projects that handle 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.

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

Prevents 404 errors · Wildcard matching · Dynamic placeholders
Cross-domain redirects · Centralized configuration in conf.py
Easy to use · Works seamlessly with Sphinx
📚Documentation

GitHub Repo stars GitHub tests PyPI version PyPI - Python Version MIT licence

Good URLs are never changing URLs. But if you must, sphinx-reredirects helps you manage redirects with ease and from a single place in the project's conf.py.

For example, if you rename document start to intro, and tell it to sphinx-reredirects, it will generate the HTML page start.html with <meta http-equiv="refresh" content="0; url=intro.html">.

The extension supports wildcards and moving to different domains, too.

Community

Connect with other fellows who are building with Sphinx. Share knowledge, get help, and contribute to the open-source project. Check out our Documatt Community page to see featured material and upcoming events.

Join our community here:

Legal

sphinx-reredirects MIT licensed.

Icon "route-alt-right" by TabletIcons.

About

The extension for Sphinx documentation projects that handles redirects for moved pages. Based on the its configuration, the extension generates HTML pages with meta refresh redirects to the new page location.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages