commit | 4f15235459a724211ace2476c8cb3b74781474ac | [log] [tgz] |
---|---|---|
author | Pil0tXia <41445332+Pil0tXia@users.noreply.github.com> | Mon Aug 28 15:20:17 2023 +0800 |
committer | GitHub <noreply@github.com> | Mon Aug 28 15:20:17 2023 +0800 |
tree | af1691aa365f0f446b037d18561b598e10ebaab4 | |
parent | 9dc094d2bc848720339ad3037766977aa87f7a11 [diff] |
[ISSUE #127] Fix parallel development merge conflict and optimize documents (#128) * Fix failed task and image duplicate references (zh-cn) * Fix image relative link references (en) * sync versioned doc change * resolve confict: remove mis-recognized as moved file * resolve conflict: translate a doc to manually make git change * feat: translate HTTPS doc * sync image relative link * unify 1.9.0 version label * Fix mandatory values were labeled as optional in webhook 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