npm install --global docusaurus-init
npm install
For defalut language (English),
npm run start
For another languages (e.g. Japanese)
npm run start -- --locale ja
npm build
When we have the latest release, update static\version_const\latest.js
.
-
npm run docusaurus docs:version vXX.YY
to create a new version. -
Duplicate
static\version_const\latest.js
and rename it tostatic\version_const\vXXYY.js
-
Make
const is_latest = false;
onstatic\version_const\vXXYY.js
-
Clean up
docs\this_version\api-change.mdx
(en) andi18n\ja\docusaurus-plugin-content-docs\current\this_version\api-change.mdx
(ja) to reset the API update. -
Remove the API update admonition from tutorials.
Note that you don't have to update Windows setup guilde to remove right-click instruction. It is automatically updated by step 3. See the detail in static\msi_instruction_if_latest.js