Skip to content

Add automation to prevent breaking URLs #58

Closed as duplicate
Closed as duplicate

Description

@encukou

(This was discussed at one of the meetings, filing an issue so it isn't forgotten.)

Any kind of reorganization can break existing URLs. Ideally any breakage is intentional rather than accidental. Even more ideally, we add some redirect mechanism.

Brian Skinn's sphobjinv library might be useful for inspecting Sphinx inventories.

Activity

  1. CAM-Gerlach commented on Aug 3, 2022

    @CAM-Gerlach
    Member

    Sphinx-Rediraffe, which we now use on the devguide, can also automatically check this at least at the page level.

  2. bskinn commented on Aug 4, 2022

    @bskinn

    Aha, I didn't realize what you were trying to do from the comment in the meeting notes.

    sphinx-rediraffe absolutely looks like what you want, not sphobjinv.

  3. StanFromIreland commented on Jun 8, 2026

    @StanFromIreland
    Member

    This has been completed in python/cpython#145000, a CI check now runs and complains if any HTML IDs are removed. Closing in favour of duplicate issue with more recent activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions