Skip to main content

Sphinx Extension that redirects non-existent pages to working pages

Project description

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

python -m pip install sphinxext-rediraffe

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

sphinxext_rediraffe-0.3.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

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

sphinxext_rediraffe-0.3.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file sphinxext_rediraffe-0.3.0.tar.gz.

File metadata

  • Download URL: sphinxext_rediraffe-0.3.0.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for sphinxext_rediraffe-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f319b3ccb7c3c3b6f63ffa6fd3eeb171b6d272df55075a9e84364394f391f507
MD5 f12d889533b4b8f7f46a1d339ff727ca
BLAKE2b-256 e3a9ab13d156049eea633f992424f3e92cb40e3f1b606bb6d01d40a27457d38a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinxext_rediraffe-0.3.0.tar.gz:

Publisher: create-release.yml on sphinx-doc/sphinxext-rediraffe

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

File details

Details for the file sphinxext_rediraffe-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinxext_rediraffe-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4220beafa99c99177488276b8e4fcf61fbeeec4253c1e4aae841a18c475330c
MD5 52a36f54de63334a75f762c3e173b324
BLAKE2b-256 8755ab40a0d1378ee5c859590a633052cf1d0a1f8435af87558a9f7cd576601a

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinxext_rediraffe-0.3.0-py3-none-any.whl:

Publisher: create-release.yml on sphinx-doc/sphinxext-rediraffe

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