feat: Add local startup documentation and fix design documentation subdirectories not being internationalized (#132)

* fix: doc

* fix: doc

* fix: sidebars

* fix: sidebars

* feat: config collapsed
131 files changed
tree: 5deef6102901ff267a15e633c0cddb1100aec6df
  1. .github/
  2. blog/
  3. community/
  4. docs/
  5. events/
  6. i18n/
  7. scripts/
  8. sidebars/
  9. src/
  10. static/
  11. versioned_docs/
  12. versioned_sidebars/
  13. .asf.yaml
  14. .eslintrc.js
  15. .gitignore
  16. babel.config.js
  17. doap_EventMesh.rdf
  18. docusaurus.config.js
  19. eventmesh-multi-runtime.drawio
  20. eventmesh.drawio
  21. LICENCE
  22. package-lock.json
  23. package.json
  24. README.md
  25. tsconfig.json
  26. versions.json
  27. 未命名绘图.drawio
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

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