commit | 759011fd1c7266abdbeb19cf9f8ec8c47899b057 | [log] [tgz] |
---|---|---|
author | Shukun Z <60541766+andream7@users.noreply.github.com> | Tue Sep 12 09:40:06 2023 +0800 |
committer | GitHub <noreply@github.com> | Tue Sep 12 09:40:06 2023 +0800 |
tree | 5deef6102901ff267a15e633c0cddb1100aec6df | |
parent | cfd21bd0a1faaca18c1b43a404418fdab18d7c67 [diff] |
feat: Add local startup documentation and fix design documentation subdirectories not being internationalized (#132) * fix: doc * fix: doc * fix: sidebars * fix: sidebars * feat: config collapsed
Clone and install dependencies:
git clone git@github.com:apache/eventmesh-site.git cd eventmesh-site npm install
Preview the website in development mode:
# Start the website with English documentations npm run start -- --locale en # Start the website with Chinese documentations npm run start -- --locale zh
Build and view the website:
npm run build
npm run serve
apache/eventmesh
The npm run fetch
script (scripts/fetch.ts
) clones the apache/eventmesh
repository and copies the documentations to docs
and i18n/zh/docusaurus-plugin-content-docs
. To update the documentation, please create a pull request in the apache/eventmesh
repository.
npm run fetch npm run start -- --locale en