Skip to main content

Sphinx Extension that redirects non-existent pages to working pages

Project description

The sphinx-rerediraffe fork was published as a temporary solution. The changes it introduces have already been proposed upstream (sphinx-doc/sphinxext-rediraffe#67, sphinx-doc/sphinxext-rediraffe#68).

sphinx-rerediraffe

Package on PyPI Build Status MIT

Sphinx extension to redirect files

./assets/rediraffe_logo.svg

This Sphinx extension redirects non-existent pages to working pages. Rediraffe can also check that deleted or renamed files in your git repo are redirected.

Rediraffe creates a graph of all specified redirects and traverses it to point all internal urls to leaf urls. This means that chained redirects will be resolved. For example, if a config has 6 chained redirects, all 6 links will redirect directly to the final link. The end user will never experience more than 1 redirection.

Note: Rediraffe supports the html and dirhtml builders.

Installation

pip install sphinx-rerediraffe

Usage

See the documentation.

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_rerediraffe-0.0.4.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_rerediraffe-0.0.4-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_rerediraffe-0.0.4.tar.gz.

File metadata

  • Download URL: sphinx_rerediraffe-0.0.4.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sphinx_rerediraffe-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b2053057bfc2dd79c20f986322e35c7ba4a40714ebaf2b075c860432fb0cca84
MD5 3cd884f43336ca716467f10522779d9a
BLAKE2b-256 1a6e1909520b53151bc43073ac4c1835cbef591ec1cce11bc9407d45f0d8002a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_rerediraffe-0.0.4.tar.gz:

Publisher: release-publish.yaml on jahn-junior/sphinx-rerediraffe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sphinx_rerediraffe-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_rerediraffe-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7b39d08c3f34439bd3cb486c286e77672d37c8eb8fe39dd4d91a3db62aebcc99
MD5 439460073ef3105c47d099fdf16f9f63
BLAKE2b-256 0336676ea0d96745d1f4fe87ff9a2d9fc1adcb9249f0b329928d1173ddff7194

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_rerediraffe-0.0.4-py3-none-any.whl:

Publisher: release-publish.yaml on jahn-junior/sphinx-rerediraffe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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