Writing Documentation
This project uses VitePress for documentation writing, with the documents stored in the /docs path of the project repository.
Compiling the Documentation Project
Installing Yarn
npm install -g yarnInstalling VitePress
yarn add --dev vitepressStarting the Project
yarn devCommon Issues
The installation of VitePress prompts a Node version error, how to switch Node versions
Visit the GitHub page for nvm-windows. Download and install nvm-windows. After installation, open the command line (such as PowerShell or CMD). View all available Node.js versions:
nvm list availableInstall the Node.js version you want, for example:
nvm install 18.18.0Use the version you just installed:
nvm use 18.18.0Verify if the switch to the new version was successful:
node -v