You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
# The open-source repo for [docs.halo.run](https://docs.halo.run)
|
|
|
|
|
|
|
|
|
|
This website is built using [Docusaurus 2](https://docusaurus.io/), 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.
|