This website is built using Docusaurus 2, a modern static website generator.
Language |
---|
Chinese |
You are very welcome to contribute docs. All documentation is in the docs directory, and the writing style can refer to the existing documentation.
This is IMPORTANT to know:
- If you are adding docs for those features in next release, please add:
- EN docs into
docs/
- ZH docs into
i18n/zh-Hans/docusaurus-plugin-content-docs/current
- EN docs into
- If you are adding docs for features that have already supported in stable release (e.g., v1.0), please add:
- EN docs into both
docs/
andversioned_docs/version-v1.0
- ZH docs into both
i18n/zh-Hans/docusaurus-plugin-content-docs/current
andi18n/zh-Hans/docusaurus-plugin-content-docs/version-v1.0
- EN docs into both
- If you are publishing blog, please add:
- EN docs into
blog/
- ZH docs into
i18n/zh-Hans/docusaurus-plugin-content-blog/
- EN docs into
You can debug the docs locally with the following command:
# EN
$ npm run start
# ZH
$ npm run start -- --locale zh-Hans
When your pull request is merged, the bot is automatically built and published to the gh-pages
branch and eventually visible in koordinator.sh.
$ npm run docusaurus docs:version v1.x
It will automatically copy new version directories from the current directories for both EN and ZH docs.