commit | 62170521b9063f13cbe161e497fc6a4f52e6822e | [log] [tgz] |
---|---|---|
author | andream7 <2236407598@qq.com> | Tue Jul 25 10:28:11 2023 +0800 |
committer | andream7 <2236407598@qq.com> | Tue Jul 25 10:28:11 2023 +0800 |
tree | 96792b8b2b8fb3ae5735b2e25154bf5cf7414c35 | |
parent | 294a7e16b39d3232a8de7c42c97217454a965443 [diff] |
feat: archiving of Chinese and English content of documents of different release versions
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