Skip to content

Commit

Permalink
增加 docs-website 的 README
Browse files Browse the repository at this point in the history
  • Loading branch information
MROS committed Feb 22, 2023
1 parent 09d68bf commit f6ba51b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
15 changes: 15 additions & 0 deletions docs-website/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## 查看

[點此](https://docs.carbonbond.cc)線上查看。

如果您想要離線查看,可在本資料夾執行
```
yarn
yarn dev
```
即可在 http://localhost:5173 查看文件。

## 編輯
執行 `yarn dev` 之後, 對本文件修改會自動熱更新到 localhost:5173 ,可以方便地預覽 Markdown 渲染結果。

本文件由 [vitepress](https://vitepress.vuejs.org/) 生成,可參考其[文件](https://vitepress.vuejs.org/)進行設置。
8 changes: 7 additions & 1 deletion docs-website/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ export default {
],
sidebar: [
{
text: '概述',
text: '介紹',
items: [
{ text: '碳鍵是什麼?', link: '/概述/碳鍵是什麼.html' }
]
},
{
text: '開發',
items: [
{ text: '碳鍵是什麼?', link: '/概述/碳鍵是什麼.html' }
]
Expand Down

0 comments on commit f6ba51b

Please sign in to comment.