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
npm run build && npm run local-postbuild
This runs the local-postbuild to replace the absolute path to relative path
When we have the latest release, update static\version_const\latest.js
.
-
npm run docusaurus docs:version vXX.YY
to create a new version. -
Run
python3 version_update.py vXX.YY
to replace all js file path -
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