Skip to content

Commit

Permalink
update website doc
Browse files Browse the repository at this point in the history
Signed-off-by: iotah <[email protected]>
  • Loading branch information
IotaHydrae committed Apr 20, 2024
1 parent caeea51 commit 7d5f787
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
29 changes: 28 additions & 1 deletion content/docs/about/this-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,31 @@ seo:

我们的服务器会每30分钟检查一次文档更新,同步至如下链接,供国内用户访问:

[http://embeddedboys.com/Pico_DM_QD3503728](http://embeddedboys.com/Pico_DM_QD3503728)
[http://embeddedboys.com/Pico_DM_QD3503728](http://embeddedboys.com/Pico_DM_QD3503728)

## 构建本文档

安装[nvm](https://github.com/nvm-sh/nvm)
```bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
```

通过nvm安装node
```bash
nvm install node
```

克隆编译构建文档
```bash
git clone https://github.com/embeddedboys/Pico_DM_QD3503728
cd Pico_DM_QD3503728

npm install
rm -rf public && npm run build
```

或者在本地启动服务器
```bash
rm -rf public && npm run dev
```
访问[localhost:1313](localhost:1313)
1 change: 1 addition & 0 deletions hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@
"显示驱动",
"本项目相关的",
"杂项",
"构建本文档",
"树莓派官方提供",
"核心板数据统计",
"核心板的安装与卸载",
Expand Down

0 comments on commit 7d5f787

Please sign in to comment.