Migrate documentation site to Fumadocs with monorepo structure and shared content - #11
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
…rver Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add setup for Fumadocs documentation site
Migrate documentation site from custom @objectdocs/cli to Fumadocs
Jan 18, 2026
Contributor
|
@copilot nextjs项目使用多包架构放到apps/docs,不要污染根目录 |
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Contributor
Author
Done! The Next.js documentation site has been moved to Changes:
See commit 3124fe9 for the complete restructuring. |
Copilot
AI
changed the title
Migrate documentation site from custom @objectdocs/cli to Fumadocs
Migrate documentation site to Fumadocs with monorepo structure (apps/docs)
Jan 19, 2026
Contributor
|
@copilot 我的文档还是放在很目录,不要换位置 /content/docs |
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Contributor
Author
Done! Documentation content is now kept at the root directory Changes:
The Next.js app remains in See commit c60ebe7 for the changes. |
Copilot
AI
changed the title
Migrate documentation site to Fumadocs with monorepo structure (apps/docs)
Migrate documentation site to Fumadocs with monorepo structure and shared content
Jan 19, 2026
…mprove documentation formatting, and refine build scripts
This was referenced Sep 3, 2026
This was referenced Sep 3, 2026
This was referenced Sep 3, 2026
This was referenced Sep 4, 2026
This was referenced Sep 10, 2026
Merged
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.


Replace the custom
@objectdocs/clidocumentation tooling with Fumadocs, a modern Next.js-based documentation framework, and restructure it into a proper monorepo architecture underapps/docs/while keeping documentation content at the root level for sharing.Changes
Monorepo Structure
apps/docs/to avoid polluting the root directorypackage.jsonwith isolated dependenciespackages/*) and applications (apps/*)/content/docs/(root level) for easy access and sharing across the repositoryCore Infrastructure
/content/docs/(root level) with type-safe collection handling@tailwindcss/postcssDirectory Structure
Configuration
UI Components
fumadocs-ui/mdxBuild Output
Workspace Configuration
pnpm-workspace.yamlto includeapps/*package.jsonscripts use workspace filters:pnpm --filter @objectstack/docspackage.jsonincludes shared dependencies (lucide-react) used by MDX filestsconfig.jsonexcludes apps directory.gitignoreupdated for apps structureScreenshot
Scripts
Scripts remain the same from repository root:
Benefits
/content/docs/accessible to other tools and workflowsapps/playground,apps/studio)All existing MDX content preserved at the root level. The
.source/directory (auto-generated by Fumadocs) is gitignored.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.