File tree 3 files changed +16
-6
lines changed
3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ target/
29
29
* .log
30
30
* .tmp
31
31
* .vsprops
32
- * .suo
32
+ * .suo
33
33
* .user
34
34
* .userprefs
35
35
* .sdf
@@ -49,3 +49,4 @@ vuepress
49
49
yarn.lock
50
50
temp.ps1
51
51
* -temp *
52
+ articles /.vuepress /sidebar.json
Original file line number Diff line number Diff line change 79
79
" Model.md" ,
80
80
" Normal.md" ,
81
81
" Search.md" ,
82
+ " 从零开始的最佳实践.md" ,
82
83
" 入门.md"
83
84
]
84
85
}]
Original file line number Diff line number Diff line change 8
8
- ` vuepress dev ` 运行项目
9
9
- ` vuepress build ` 发布项目
10
10
11
- ## build-toc.ps1
11
+ ### 注意事项
12
12
13
- ### build-toc.ps1说明
13
+ - 每个文件夹下需要有个` README.md ` 文件,会生成` index.html ` ,没有的话导航到该目录就无内容
14
+
15
+ ## 生成api文档
16
+
17
+ - 暂时没用到
18
+
19
+ ### build-toc.ps1
20
+
21
+ #### build-toc.ps1说明
14
22
15
23
- 根据文件夹结构生成一个栏目下的目录
16
24
17
- ### 用法
25
+ #### 用法
18
26
19
27
- 在一栏目下新建` ps1 ` 脚本文件,填写一下内容保存
20
28
26
34
- 运行之后该目录会生成一个` toc-temp.md ` 目录文件,如果不存在` toc.md ` ,则自动创建一个
27
35
- 第二次运行只会生成新的` toc-temp.md ` ,不会覆盖` toc.md ` ,这样当` toc.md ` 内容调整时,可以从` toc-temp.md ` 复制新的目录内容到` toc.md ` 进行手工调整
28
36
29
- ## build.ps1
37
+ ### build.ps1
30
38
31
- ### build.ps1说明
39
+ #### build.ps1说明
32
40
33
41
- 根据配置文件的` build ` -` content ` 配置,找到并生成所有栏目
34
42
- 覆盖原则同上
You can’t perform that action at this time.
0 commit comments