commit | d49e1a5953e52988a6879456ce91ffc871024732 | [log] [tgz] |
---|---|---|
author | Pil0tXia <41445332+Pil0tXia@users.noreply.github.com> | Fri Dec 15 09:53:25 2023 +0800 |
committer | GitHub <noreply@github.com> | Fri Dec 15 09:53:25 2023 +0800 |
tree | edad3bf47f6ab8961b0e342c5c3367a0f828d922 | |
parent | 3a76dd93f25e01d5e6db0c3f647a6c73547d9434 [diff] |
[ISSUE #151] Adjust the categories sequence of sidebar and optimize SDK docs (#152) * Adjust the 'Quick Start' category to the top of sidebar * Correct some typos and format with pangu * Translate and optimize sdk doc * Standardize 'EventMesh Runtime'
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