commit | 9cf34c557e06946ab2736400c73de1fc4f27517c | [log] [tgz] |
---|---|---|
author | lrhkobe <34571087+lrhkobe@users.noreply.github.com> | Fri Sep 08 16:26:39 2023 +0800 |
committer | GitHub <noreply@github.com> | Fri Sep 08 16:26:39 2023 +0800 |
tree | cdb164080161a3b05f57e79cd84d2f9325889ff6 | |
parent | 4d215b64c8cbbe7d0092cbc6eb64e1529e74c8e8 [diff] | |
parent | 25276252c3270218f36b0be2b8f3f72ba15d8ff8 [diff] |
Merge pull request #130 from apache/xwm1992-patch-4 Update publish.yml
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