docs: migrate kratos debug docs to deployment structure#2678
Merged
hperl merged 1 commit intoJul 13, 2026
Merged
Conversation
The debug pages were autogenerated into both the OEL and OSS sidebars, so one deployment always hijacked the other's navigation (#2674). Move them to shared partials with OEL and OSS shells; OEL is canonical per the self-hosted exception. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
6 tasks
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.
Fixes the sidebar hijack on the kratos debug/troubleshooting pages: they were autogenerated into both the OEL and OSS sidebars (
dirName: "kratos/debug"), and since Docusaurus associates each doc with exactly one sidebar, opening e.g./docs/kratos/debug/csrffrom the OEL tree reshuffled the navigation into OSS. Same bug class as #2674, applied to the self-hosted deployments.src/components/Shared/kratos/debug/(the two CommonMark.mdpages keep their extension —format: "detect"— so they stay JSX-free).docs/oel/kratos/debug/anddocs/oss/kratos/debug/; each deployment's sidebar autogenerates from its own directory, so OEL and OSS readers keep their own navigation./docs/kratos/debug/*) 308-redirect to the OEL pages.docs/troubleshooting/10_crsf.mdxusesSameDeploymentLinkwith anetwork=override (no Network shell exists), and the CommonMark guidesetting-up-password-hashing-parameters.mdpoints at the canonical OEL URL.Related Issue or Design Document
Part of #2674.
Checklist
Further comments
Stacked on #2675 (base is its branch, so this diff shows only the debug migration; GitHub retargets to master when #2675 merges). Full
docusaurus buildpasses; the only remaining warnings are the pre-existing/docs/reference/openapi/*and/docs/reference/api#operation/*ones that exist on master too.🤖 Generated with Claude Code