This directory contains the VitePress documentation site for Object UI.
Start the development server:
pnpm docs:devVisit http://localhost:5173 to see the site.
Build the documentation:
pnpm docs:buildThe built site will be in docs/.vitepress/dist/.
Preview the built site:
pnpm docs:previewThe documentation is automatically deployed to GitHub Pages when changes are pushed to the main branch.
See .github/workflows/deploy-docs.yml for the deployment configuration.
docs/
├── .vitepress/
│ ├── config.mts # VitePress configuration
│ └── dist/ # Build output (generated)
├── guide/ # User guides
│ ├── introduction.md
│ ├── quick-start.md
│ └── installation.md
├── protocol/ # Protocol specifications
│ ├── overview.md
│ ├── object.md
│ ├── view.md
│ └── ...
├── api/ # API documentation
│ ├── core.md
│ ├── react.md
│ ├── components.md
│ └── designer.md
├── index.md # Homepage
└── package.json # Docs workspace config
- Create a new
.mdfile inguide/ - Add it to the sidebar in
.vitepress/config.mts
- Create a new
.mdfile inprotocol/ - Add it to the protocol sidebar section in
.vitepress/config.mts
Edit .vitepress/config.mts to customize:
- Navigation menu
- Sidebar structure
- Site metadata
- Theme settings