Skip to content

docs: add redirect requirement for ID changes#81

Open
maximiliantech wants to merge 1 commit into
mainfrom
chore/add-redirect-requirement
Open

docs: add redirect requirement for ID changes#81
maximiliantech wants to merge 1 commit into
mainfrom
chore/add-redirect-requirement

Conversation

@maximiliantech
Copy link
Copy Markdown
Member

@maximiliantech maximiliantech commented Apr 22, 2026

What this PR does / why we need it:
Adds a requirement to CLAUDE.md: When changing an existing id:, a redirect must be added to docusaurus.config.ts to preserve the old URL. Includes a code example showing how to configure redirects.

This ensures external links and bookmarks continue to work after ID changes.

Which issue(s) this PR fixes:
NONE

Special notes for your reviewer:
Follow-up to PR #80 which introduced the id: requirement.

Release note:

CLAUDE.md now requires adding redirects when changing document IDs to prevent breaking URLs.

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