The main commands for the docsite integration are only three, mainly as follows:
docsite initExecuting this command in the project root directory will initialize a site development template and install related dependencies in the directory.
docsite startExecuting this command will start a development server locally, the default port number is 8080 (can be changed in the port field in site_config/site.js). This page will also be automatically opened in the browser. During the development process, when the source code is modified, including the markdown document, it will be automatically compiled. After refreshing the browser, you can see the updated result.
docsite buildAfter the local development is completed, run the command to compile and build the source code and markdown document to generate the constructed file.
Execute docsite -h for more commands.