This repository now uses Docusaurus + GitHub Actions to publish the CPcashLabs DAO documentation site to GitHub Pages.
The documentation is organized around two core modules:
roadmap: ecosystem direction, vision, and roadmap whitepaperrecruiting: contributor roles, participation guidance, and current collaboration entry points
- English (default)
- Simplified Chinese for Singapore (
zh-sg) - Russian (
ru)
npm install
npm startThe default development address is http://localhost:3000/DAO/ for the English locale.
Docusaurus v3 runs one locale at a time in development mode. Use the locale-specific scripts when you want to work on translated docs:
npm run start:zh-sg
npm run start:ruThose commands expose:
http://localhost:3000/DAO/zh-sg/http://localhost:3000/DAO/ru/
If you want to preview the full GitHub Pages route structure with all locales available at once, use:
npm run previewThis mirrors the production-style static output, including:
http://localhost:3000/DAO/http://localhost:3000/DAO/zh-sg/http://localhost:3000/DAO/ru/
npm run buildThe static output is generated in the build/ directory.
docs/: source documents for the default English localei18n/zh-sg/docusaurus-plugin-content-docs/current/: Simplified Chinese translationsi18n/ru/docusaurus-plugin-content-docs/current/: Russian translationsdocusaurus.config.js: site, i18n, theme, and deployment configurationsidebars.js: module-specific document sidebarssrc/css/custom.css: theme overrides for the documentation UI.github/workflows/deploy-pages.yml: GitHub Actions workflow for GitHub Pages deployment
Pushes to main trigger the GitHub Actions workflow and publish the built Docusaurus site to GitHub Pages.