This is the source code for the website!
npm install
npm run prep
npm run dev
- Open up http://localhost:3001
- 在 cn 分支的 en 文件夹下进行翻译。这样才能对比 cn 分支和 master 分支 en 文件夹下文件的差异。
分为三个仓库:英文仓库、中文仓库、我的仓库
- 第一步:英文仓库 master 分支向中文仓库 master 分支合并以及提交(merge & push)。
- 第二步:中文仓库 master 分支向我的仓库 master 分支合并以及提交(merge & push)。
- 第三步:我的仓库 master 分支向我的仓库 cn 分支合并以及提交(merge & push)。
- 第四步:我的仓库 cn 分支向中文仓库 cn 分支提交 pr。
- 第五步:中文仓库 cn 分支合并(merge) 我的仓库 cn 分支的 pr。
- 第六步:中文仓库 cn 分支将 en 文件夹下的文件,复制到中文仓库 master 分支 zh 文件夹。
- 第七步:中文仓库 master 分支向英文仓库 master 分支提交 pr。
Translations into other languages are warmly welcomed. Make a copy of the guide/en
directory, renaming it to your language (e.g. guide/fr
), and update the markdown files inside. Once done, the translation will be available at /[lang]
.