This is the official documentation site for Univer, built with Next.js, Fumadocs headless content tooling, and project-owned UI.
Install dependencies:
pnpm installStart the development server:
pnpm devThe site will be available at http://localhost:3030.
Build for production:
pnpm build├── app/ # Next.js application routes and layouts
├── components/ # React components for the documentation site
├── content/ # Documentation content (MDX)
│ ├── blog/ # Blog posts
│ ├── guides/ # User guides (docs, sheets, slides, pro, recipes)
│ ├── icons/ # Icons reference
│ └── reference/ # API reference
├── examples/ # Framework integration examples (React, Vue, Angular, Astro)
├── lib/ # Utility libraries
├── public/ # Static assets
└── scripts/ # Build and automation scripts
We welcome contributions to the documentation. Please ensure your changes follow the existing style and conventions. Run pnpm lint and pnpm typecheck before submitting.
For more information about contributing to Univer, see the main repository.
To deploy the documentation site to ECS through GitHub Actions:
- Open Actions and select 🕶️ Deploy Using ECS.
- Select the branch to deploy (for example,
dev). - Set Environment to deploy to
stagingorinternational. - Select the ACR registry region: use
cn-shenzhenfor thestagingenvironment, orus-east-1for theinternationalenvironment. - Enter the required ECS instance size (for example,
32c64g) and click Run workflow.
The workflow dispatches the deployment to runner-machine; the ECS region is derived from the selected ACR region (cn-shenzhen → shenzhen, us-east-1 → us-virginia).