To setup local environment, please install below dependencies:
- Install mise.
- Run
mise ito install python, node and other npm cli tools. - Run
npm ito install npm dependencies, including docusaurus.
- To start local service, please run command
npm start. - To build production artifacts, please run command
npm run build. - To format source code and docs, please run
prettier -w .. - To sync API docs from rsvim, please follow below steps:
- Clone rsvim repo in the sibling directory under the same parent directory as this repo.
- Run the
./sync.pyscript to sync all API docs.
- To configure searching index, please go to Doc Search.
- To tag a version, please run command:
npm run docusaurus docs:version 0.1.0(see Docusaurus - Versioning). - To create SVG image, please use draw.io desktop.