commit | 94659866540c9be96bd72f4cfd9405db70c0a2d0 | [log] [tgz] |
---|---|---|
author | scwlkq <89067331+scwlkq@users.noreply.github.com> | Wed Jan 17 00:22:30 2024 +0800 |
committer | GitHub <noreply@github.com> | Wed Jan 17 00:22:30 2024 +0800 |
tree | 52c4e74a096c4e8a975f5814a0ab509a68e76502 | |
parent | 4166ca20f1f9cff28478ebfbc4c7967759ac2547 [diff] |
[ISSUE #135] Revise version v1.7.0 documents (#187) * mofify v1.7.0's en and zh docs * fix v1.7.0 zh docs
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