commit | a3340017aa938f777d5b3b16784492124b665c04 | [log] [tgz] |
---|---|---|
author | Pil0tXia <41445332+Pil0tXia@users.noreply.github.com> | Mon Aug 28 10:25:11 2023 +0800 |
committer | GitHub <noreply@github.com> | Mon Aug 28 10:25:11 2023 +0800 |
tree | 770844eb4151b75c963dd357ba72a26f0d669ead | |
parent | fec7ea7c65ee460507c99fbb512f79a02e34271e [diff] |
[ISSUE #113] Optimize Webhook doc and add updateWebHookConfig endpoint (#118) * Remove redundant zh doc files. * Fix webhook zh doc not displayed (need translation) * Optimize Webhook zh doc format and typos * Optimize Webhook en doc * Add updateWebHookConfig endpoint and optimize en titles
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