Docs: Revert "Add canonical tags and enforce no trailing slashes"#7105
Merged
JonnyBurger merged 1 commit intomainfrom Apr 20, 2026
Merged
Docs: Revert "Add canonical tags and enforce no trailing slashes"#7105JonnyBurger merged 1 commit intomainfrom
JonnyBurger merged 1 commit intomainfrom
Conversation
Contributor
|
Reviewed PR #7105 — approved. Clean exact revert of #7086 with no issues found.
|
Contributor
There was a problem hiding this comment.
Reviewed — no issues found. Clean exact revert of #7086 (3 lines removed across 2 files). The rollback rationale is sound — trailingSlash: false changes Docusaurus build output from page/index.html to page.html, which broke Vercel routing.
Claude Opus | 𝕏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Why it broke
The
trailingSlash: falseDocusaurus config setting changes the build output format frompage/index.html(directory-based) topage.html(file-based). On Vercel, the existing routing expected directory-based output, so pages became unreachable — resulting in 404 errors for visitors.Even though
cleanUrls: truewas added to the Vercel config to compensate, it wasn't sufficient to handle all existing URL patterns, particularly those without.htmlextensions that relied on theindex.htmlconvention.Made with Cursor