This project keeps all sources used for building up Apache ShenYu official website which's served at https://shenyu.apache.org/.
This website is built using Docusaurus 2, a modern static website generator.
- Node.js version >= 12.13.0 or above (which can be checked by running node -v).
- Yarn version >= 1.5 (which can be checked by running yarn --version).
yarn install- Start your localized site using the default locale. Then Your site is accessible at http://localhost:3000/.
yarn start- Start your localized site in dev mode, using the locale of your choice.Then Your site is accessible at http://localhost:3000/zh/.
yarn start --locale zhThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
- Create new branch
- Commit and push changes to content (e.g. The
.mdfile in/docs). - Translate the markdown file, commit and push changes to content (e.g. The
.mdfile in/i18n/zh/docusaurus-plugin-content-docs/current). - Check the format by
yarn lint. - Submit pull request to
mainbranch