mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-20 09:38:36 +00:00
ac0b158b73c7da289b21944f9c0ac776d446c33c

引入 esbuild,提升构建速度。 before: <img width="777" alt="image" src="https://github.com/halo-dev/docs/assets/21301288/49d28d76-1c10-47c8-ac8c-31b41a31f6bd"> after: <img width="888" alt="image" src="https://github.com/halo-dev/docs/assets/21301288/61462a4c-ba66-4612-9363-67e5d394601b"> /kind improvement ```release-note None ```
The open-source repo for docs.halo.run
This website is built using Docusaurus 2, a modern static website generator.
Installation
$ pnpm install
If you don’t have pnpm installed, you can install it with the following command:
npm install -g pnpm
Local Development
$ pnpm start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
$ pnpm build
This command generates static content into the build
directory and can be served using any static contents hosting service.
Description
Languages
JavaScript
80.8%
TypeScript
14.8%
CSS
4.2%
Shell
0.2%