mirror of
https://github.com/halo-dev/docs.git
synced 2026-05-02 01:01:52 +08:00
f1e2d27c8a26fbecdfa29f3181390e574f946f80
#### What this PR does / why we need it: 目前 Halo 容器挂载目录配置 `./:/root/.halo2` 容易让用户无意在 Halo 工作目录添加一些其他无关目录,例如:Nginx 也挂载到当前目录。这可能会导致无法正常使用备份功能。目前也无法预知未来可能会发生什么样的错误。 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/4637 #### Does this PR introduce a user-facing change? ```release-note 修改 Halo 容器工作目录挂载目标目录为 ./halo2 ```
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
MDX
65.1%
JavaScript
22.4%
TypeScript
7%
SCSS
4.1%
CSS
1.3%