Merge pull request #248 from xwm1992/fix-247

[Enhancement] update eventmesh architecture image
tree: 41984a6bcdb53e60afa02e9088434f9515322d4c
  1. .github/
  2. blog/
  3. community/
  4. docs/
  5. events/
  6. i18n/
  7. meetup/
  8. scripts/
  9. sidebars/
  10. src/
  11. static/
  12. versioned_docs/
  13. versioned_sidebars/
  14. .asf.yaml
  15. .autocorrectignore
  16. .autocorrectrc
  17. .eslintrc.js
  18. .gitignore
  19. babel.config.js
  20. doap_EventMesh.rdf
  21. docusaurus.config.js
  22. eventmesh-multi-runtime.drawio
  23. LICENCE
  24. package-lock.json
  25. package.json
  26. README.md
  27. tsconfig.json
  28. versions.json
README.md

Apache EventMesh Website

Development

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

Check contents style

Before you commit your changes, you can check the style of the contents by running the following command:

$ npm run autocorrect --lint

And then follow the instructions to fix the style issues.

Sync Documentation from 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