Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 20, 2026

Migrated all existing documentation from the VitePress-based /docs directory to the new Fumadocs-based site at /apps/site.

Changes

Content Migration

  • Converted 18 markdown files to MDX format with proper frontmatter
  • Guide section (11 files): architecture, platform-components, data-modeling, security-guide, sdk-reference, logic-hooks, logic-actions, ui-framework, development-plan, contributing-development
  • Spec section (4 files): metadata-format, query-language, http-protocol
  • Homepage with Cards components for navigation

Navigation Structure

  • Created meta.json files for docs root, guide, and spec sections
  • Updated page-tree.ts with complete hierarchical navigation
  • Sidebar auto-expands to show all sub-pages within sections

Technical Fixes

  • Escaped TypeScript generic types in MDX (e.g., Record<string, any>Record\<string, any\>)
  • Added Card/Cards component imports from fumadocs-ui/components/card
  • Copied logo asset from docs/public/ to apps/site/public/

Result

Documentation site builds successfully and renders all pages with:

  • Hierarchical sidebar navigation
  • Table of contents per page
  • Search functionality
  • Theme toggle
  • Mobile-responsive layout

Documentation Site

Access via pnpm docs:dev at http://localhost:3000/docs

Original prompt

将现有文档迁移到新的文档网站 /apps/site


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link

vercel bot commented Jan 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
objectos-site Ready Ready Preview, Comment Jan 20, 2026 9:39am

Request Review

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
@github-actions
Copy link

⚠️ This PR is very large. Consider breaking it down into smaller, more focused changes for easier review.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates existing documentation from the VitePress-based /docs directory to a new Fumadocs-based documentation site at /apps/site. The migration includes converting markdown files to MDX format, restructuring navigation, and updating the homepage with a more focused presentation of ObjectOS as a Business Operating System.

Changes:

  • Migrated 15 documentation files from VitePress to Fumadocs MDX format
  • Created new navigation structure with meta.json files for guide and spec sections
  • Updated homepage with enhanced messaging about ObjectOS's role as an enterprise kernel
  • Added Card component integration for improved navigation

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated no comments.

Show a summary per file
File Description
apps/site/lib/page-tree.ts Added Guide and Specifications folder structures to site navigation
apps/site/content/docs/index.mdx Rewrote homepage with enhanced messaging and Card components
apps/site/content/docs/meta.json Created root navigation structure
apps/site/content/docs/guide/*.mdx Migrated 11 guide documents covering architecture, security, SDK, and more
apps/site/content/docs/guide/meta.json Created guide section navigation
apps/site/content/docs/spec/*.mdx Migrated 4 specification documents for metadata, queries, and HTTP protocol
apps/site/content/docs/spec/meta.json Created specifications section navigation

Copilot AI and others added 4 commits January 20, 2026 09:30
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Copilot AI changed the title [WIP] Migrate existing documents to new documentation site Migrate documentation from VitePress to Fumadocs site Jan 20, 2026
Copilot AI requested a review from hotlong January 20, 2026 09:38
@github-actions github-actions bot added size/xl and removed size/xl labels Jan 20, 2026
@github-actions
Copy link

⚠️ This PR is very large. Consider breaking it down into smaller, more focused changes for easier review.

@huangyiirene huangyiirene marked this pull request as ready for review January 20, 2026 09:42
@huangyiirene huangyiirene merged commit c729249 into main Jan 20, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants