This repository regroups documentation and information that is hosted on the SwanLab website.
You can access the SwanLab documentation at Document. Powered by vitepress.
It's very simple! Just clone the project, add or modify Markdown files, commit them, and then create a PR.
1. Clone this repository
git clone https://github.com/SwanHubX/SwanLab-Docs
cd SwanLab-Docs2. Install
You need to install Node.js and pnpm in advance. For detailed instructions, please refer to the pnpm tutorial.
Use the following commands to install other dependencies:
pnpm install3. Run
If you are performing local development or previewing documents, you can run the following in the project root directory:
pnpm docs:devIf a complete compilation and packaging is required, use the following command:
pnpm docs:build
pnpm docs:preview