Skip to content

02: Delete the redirect map and the redirects plugin configuration - #3383

Merged
mnocon merged 1 commit into
saas-batch-3from
saas-t02-redirect-map
Sep 7, 2026
Merged

02: Delete the redirect map and the redirects plugin configuration#3383
mnocon merged 1 commit into
saas-batch-3from
saas-t02-redirect-map

Conversation

@mnocon

@mnocon mnocon commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Ticket 02 of the Cohesivo SaaS conversion. Base: saas-batch-3.

Deletes the legacy URL redirect map so no later conversion batch has to decide
whether a page it deleted needs a redirect entry — the mechanism is gone.

Changes

  • plugins.yml: removes the redirects plugin registration and all 480
    redirect entries (-511 lines).
  • requirements.txt: drops mkdocs-redirects==1.2.2, now unused.

No file under docs/ is touched, which the ticket requires.

Accepted consequence

Inbound links to those 480 legacy URLs no longer resolve on this site. This is
deliberate: the same redirects remain live on the maintained on-premise
documentation branches, which continue to serve those URLs. No new redirects are
added for pages this conversion deletes.

Worth noting the ticket's estimate was off in a reassuring direction — it
expected "roughly 400 of the deleted entries point at pages that still exist",
but none of the 480 sources exists as a real file under docs/. Every source
is a legacy path, so no live page was shadowing a redirect.

Verification

  • Strict build: exit 0, no WARNING or ERROR lines.
  • Python suite: 95 passed, unchanged.
  • Link check: the CI lychee job needs network and sibling checkouts, so it was
    run locally over all 4158 built pages instead — 0 absolute self-links resolve
    to a removed redirect source.

Follow-up for the tooling batch (ticket 21)

.github/pull_request_template.md:14 still carries a "Redirects cover
removed/moved pages" checklist item, and AGENTS.md still documents the plugin.
Both are repository tooling rather than content, so they belong in that pull
request, not this one.

Note: build_package_docs.py reads redirect_maps out of plugins.yml and
returns an empty map when the plugin is absent, so it degrades cleanly. The
package builder now resolves zero redirects — a real behaviour change, and the
correct one.

🤖 Generated with Claude Code

Remove all 480 entries of the mkdocs-redirects redirect_maps block from
plugins.yml, along with the redirects plugin registration itself, and drop
the now-unused mkdocs-redirects dependency from requirements.txt.

The same redirects remain live on the maintained on-premise documentation
branches, which continue to serve those URLs. Doing this first means no
later conversion batch has to decide whether a page it deleted needs a
redirect entry.

build_package_docs.py still reads redirect_maps from plugins.yml and
degrades to an empty map when the block is absent, so package builds and
their tests are unaffected. No documentation page is touched.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Preview of modified files: no change to preview.

@mnocon
mnocon merged commit e279900 into saas-batch-3 Sep 7, 2026
11 of 12 checks passed
@mnocon
mnocon deleted the saas-t02-redirect-map branch September 7, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant