fix: switch GitHub Pages from broken MkDocs to Fumadocs static export#205
Closed
tuandinh0801 wants to merge 1 commit intochopratejas:mainfrom
Closed
fix: switch GitHub Pages from broken MkDocs to Fumadocs static export#205tuandinh0801 wants to merge 1 commit intochopratejas:mainfrom
tuandinh0801 wants to merge 1 commit intochopratejas:mainfrom
Conversation
MkDocs workflow was deploying empty pages since Apr 12 commit (911eb85) moved all .md content to wiki/ and replaced with Fumadocs .mdx files, but never updated the CI workflow or created the missing docs/lib/ files. - Switch docs.yml workflow from MkDocs to Next.js static export - Add output: 'export', basePath: '/headroom', unoptimized images - Use staticGET for search route (static export compatible) - Create docs/lib/ modules: source, layout.shared, shared, cn, telemetry - Add !docs/lib/ exception to root .gitignore (lib/ was ignored for Python)
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
.mdfiles towiki/and replaced them with Fumadocs.mdxfiles, but never updated the CI workflow or created the missingdocs/lib/source files.docs.ymlworkflow from MkDocs (mkdocs gh-deploy) to Next.js static export (next build→actions/deploy-pages)output: 'export',basePath: '/headroom',images: { unoptimized: true }tonext.config.mjsstaticGETfor search route (static export compatible)docs/lib/modules:source.ts,layout.shared.ts,shared.ts,cn.ts,telemetry.ts!docs/lib/exception to root.gitignore(lib/was ignored for Python build artifacts)Note
After merging, GitHub Pages source must be set to "GitHub Actions" in repo Settings → Pages (not "Deploy from branch") for the new workflow to deploy correctly.
Build verified locally — 108 static pages generated successfully.