Commit 672da45 1 parent adf64ef commit 672da45 Copy full SHA for 672da45
File tree 5 files changed +16
-8
lines changed
5 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 5
5
/text /.obsidian
6
6
node_modules
7
7
* .bkp
8
+ * .log
9
+
Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ paid for this book.**
39
39
40
40
## 编译
41
41
42
- 本书采用 [ gitbook ] ( https://www.gitbook.com / ) 进行编译,如果你想在本地编译,需要安装 gitbook-cli :
42
+ 本书采用 [ vuepress ] ( https://vuepress.vuejs.org / ) 进行编译,如果你想在本地编译,可以执行如下命令 :
43
43
44
44
```
45
- npm install gitbook-cli -g
45
+ npm run build
46
46
```
47
47
48
- 然后在项目目录中运行 ` gitbook serve ` 即可编译生成html,并且创建一个本地预览网站,其他详细的编译参数可以参照 [ 官方文档 ] ( https://toolchain.gitbook.com/setup.html ) 。
48
+
Original file line number Diff line number Diff line change 16
16
"markdown-it-disable-url-encode" : " ^1.0.1" ,
17
17
"vuepress" : " ^1.9.10" ,
18
18
"vuepress-plugin-autometa" : " ^0.1.13" ,
19
+ "vuepress-plugin-go-top" : " ^1.0.4" ,
19
20
"vuepress-plugin-sitemap" : " ^2.3.1"
20
21
}
21
22
}
Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ module.exports = {
39
39
} ,
40
40
canonical_base : baseUrl ,
41
41
} ,
42
- // 'sitemap': {
43
- // hostname: baseUrl,
44
- // // 排除无实际内容的页面
45
- // exclude: ["/404.html"]
46
- // }
42
+ 'sitemap' : {
43
+ hostname : baseUrl ,
44
+ // 排除无实际内容的页面
45
+ exclude : [ "/404.html" ]
46
+ }
47
47
}
48
48
49
49
}
Original file line number Diff line number Diff line change @@ -8505,6 +8505,11 @@ vuepress-plugin-container@^2.0.2:
8505
8505
" @vuepress/shared-utils" " ^1.2.0"
8506
8506
markdown-it-container "^2.0.0"
8507
8507
8508
+ vuepress-plugin-go-top@^1.0.4 :
8509
+ version "1.0.4"
8510
+ resolved "https://registry.npmmirror.com/vuepress-plugin-go-top/-/vuepress-plugin-go-top-1.0.4.tgz#b2c359d85280e8737c65a43fde6e6d42953878af"
8511
+ integrity sha512-VxYrZmvC9agXVOEzy1G7mJj23p17O7CVmcXhlaFtQ+J827OcIqNC1X646/gOI8Hfn8or17+J+8/Bg0ZSRyizEA==
8512
+
8508
8513
vuepress-plugin-sitemap@^2.3.1 :
8509
8514
version "2.3.1"
8510
8515
resolved "https://registry.npmmirror.com/vuepress-plugin-sitemap/-/vuepress-plugin-sitemap-2.3.1.tgz#51298aca77a5de96396fdbd1103e1637dd61ae6a"
You can’t perform that action at this time.
0 commit comments