Skip to content

evergreen links and subpages#1067

Merged
jth-nw merged 9 commits into
mainfrom
dev
Jun 4, 2026
Merged

evergreen links and subpages#1067
jth-nw merged 9 commits into
mainfrom
dev

Conversation

@jth-nw

@jth-nw jth-nw commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

jth-nw and others added 9 commits June 4, 2026 10:49
Defines the approach for adding version-less redirect URLs that always
point to the latest version of each product page, using Docusaurus
plugin-client-redirects createRedirects callback.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Three-task plan: helper function, createRedirects callback, build validation.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
When createRedirects is called for a version root page (e.g., /docs/auditor/10_8/),
the rest variable is empty, generating a redirect from /docs/auditor/ which conflicts
with the existing explicit redirect from /docs/auditor in the redirects array.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Pages that are both a doc and a category parent (e.g., a .md file alongside
a directory of the same name) generate two Docusaurus routes — with and
without trailing slash. Both produce the same filesystem path for the
redirect HTML file, causing an EEXIST error on the second write.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
@jth-nw jth-nw merged commit 88d8889 into main Jun 4, 2026
8 checks passed
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