To setup local environment, please install below dependencies:
- node.js with 18.0+ version
- docusaurus
To start local service, please run below commands:
npm install
npm run start
To build production docs, please run below commands:
npm run build
npm run serve
To format docs, please install below formatters:
To sync API docs from rsvim, please follow below steps:
- Clone the
rsvim
repo and place it with this repo under the same directory. - Run
npm install -g typedoc
to installtypedoc
command. - Run
npm install
to install all dependencies. - Run
./gendoc.sh
scripts to sync all API docs.
To configure the Search index, please go to Doc Search.
To tag a version, please run below commands (see Docusaurus - Versioning):
npm run docusaurus docs:version 0.1.0