commit | 4166ca20f1f9cff28478ebfbc4c7967759ac2547 | [log] [tgz] |
---|---|---|
author | Alonexc <91315508+Alonexc@users.noreply.github.com> | Tue Jan 16 19:04:08 2024 +0800 |
committer | GitHub <noreply@github.com> | Tue Jan 16 19:04:08 2024 +0800 |
tree | 1a145aa42db24122affed7ab622a52accfe439bc | |
parent | e59a4b2b3b98cb6d7833a4d6d8a766c97efccda2 [diff] |
Deployment steps to improve eventmesh-operator documentation. (#185)
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