Fix documentation routing for i18n static export#13
Merged
Conversation
- Add client-side redirect with meta refresh fallback for root page to handle static export - Add GitHub repository link to docs navigation - Add Home link to navigate back to landing page from docs - Support both English and Korean languages in navigation Co-authored-by: yangbooom <23739014+yangbooom@users.noreply.github.com>
- Changed absolute paths like /docs/directory/page to relative paths - Index files now use ./page for same-directory links - Cross-directory links now use ../directory or ../directory/page - Fixed 24 MDX files across both en and ko documentation - All links now follow Fumadocs conventions for proper navigation Co-authored-by: yangbooom <23739014+yangbooom@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix missing redirect links on docs page
Fix documentation routing for i18n static export
Jan 22, 2026
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.
Documentation site had broken routing due to incompatibility between Next.js static export and internationalized paths. Root redirect failed, navigation lacked project links, and internal doc links used absolute paths incompatible with i18n structure.
Changes
Root redirect: Replace server-side
redirect()with client-side navigation + meta refresh fallback to support static exportNavigation: Add
githubUrlprop and Home link toDocsLayoutwith bilingual supportInternal links: Convert 77 absolute paths (
/docs/...) to relative paths across 24 MDX files./page../section/page/{lang}/docs/*URL structureOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.