This is the official documentation site for Univer SDK, 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 SDK, 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).