@@ -98,99 +98,99 @@ async function main() {
98
98
}
99
99
100
100
const books : Record < string , Book > = {
101
- // "owen-blog": {
102
- // tags: ["Random Book"],
103
- // chapters: [],
104
- // introduction: {
105
- // title: "简介",
106
- // path: "README.md",
107
- // },
108
- // summary: [
109
- // {
110
- // title: "随笔",
111
- // path: "random-intro.md",
112
- // rules: [
113
- // {
114
- // condition: "contains",
115
- // key: "category",
116
- // value: "Random",
117
- // },
118
- // ],
119
- // },
120
- // {
121
- // title: "短想法",
122
- // path: "thoughts.md",
123
- // },
124
- // {
125
- // title: "笔记",
126
- // path: "notes-intro.md",
127
- // rules: [
128
- // {
129
- // condition: "contains",
130
- // key: "category",
131
- // value: "Notes",
132
- // },
133
- // {
134
- // condition: "notContains",
135
- // key: "relativePath",
136
- // value: "content/thoughts.md",
137
- // },
138
- // {
139
- // condition: "notContains",
140
- // key: "relativePath",
141
- // value: "content/pages/now.md",
142
- // },
143
- // {
144
- // condition: "notContains",
145
- // key: "relativePath",
146
- // value: "content/pages/about.md",
147
- // },
148
- // ],
149
- // },
150
- // {
151
- // title: "读书笔记",
152
- // path: "books-intro.md",
153
- // rules: [
154
- // {
155
- // condition: "contains",
156
- // key: "category",
157
- // value: "Books",
158
- // },
159
- // ],
160
- // },
161
- // {
162
- // title: "文章笔记",
163
- // path: "articles-intro.md",
164
- // rules: [
165
- // {
166
- // condition: "contains",
167
- // key: "category",
168
- // value: "Articles",
169
- // },
170
- // ],
171
- // },
172
- // {
173
- // title: "关于我",
174
- // path: "pages/about.md",
175
- // subSections: [
176
- // {
177
- // title: "现在",
178
- // path: "pages/now.md",
179
- // },
180
- // ],
181
- // },
182
- // ],
183
- // config: {
184
- // book: {
185
- // "title": "Owen博客精选",
186
- // "description": "Owen的博客电子书版",
187
- // "src": "content",
188
- // "language": "zh",
189
- // "authors": ["Owen Young"],
190
- // },
191
- // output: outputOptions,
192
- // },
193
- // },
101
+ "owen-blog" : {
102
+ tags : [ "Random Book" ] ,
103
+ chapters : [ ] ,
104
+ introduction : {
105
+ title : "简介" ,
106
+ path : "README.md" ,
107
+ } ,
108
+ summary : [
109
+ {
110
+ title : "随笔" ,
111
+ path : "random-intro.md" ,
112
+ rules : [
113
+ {
114
+ condition : "contains" ,
115
+ key : "category" ,
116
+ value : "Random" ,
117
+ } ,
118
+ ] ,
119
+ } ,
120
+ {
121
+ title : "短想法" ,
122
+ path : "thoughts.md" ,
123
+ } ,
124
+ {
125
+ title : "笔记" ,
126
+ path : "notes-intro.md" ,
127
+ rules : [
128
+ {
129
+ condition : "contains" ,
130
+ key : "category" ,
131
+ value : "Notes" ,
132
+ } ,
133
+ {
134
+ condition : "notContains" ,
135
+ key : "relativePath" ,
136
+ value : "content/thoughts.md" ,
137
+ } ,
138
+ {
139
+ condition : "notContains" ,
140
+ key : "relativePath" ,
141
+ value : "content/pages/now.md" ,
142
+ } ,
143
+ {
144
+ condition : "notContains" ,
145
+ key : "relativePath" ,
146
+ value : "content/pages/about.md" ,
147
+ } ,
148
+ ] ,
149
+ } ,
150
+ {
151
+ title : "读书笔记" ,
152
+ path : "books-intro.md" ,
153
+ rules : [
154
+ {
155
+ condition : "contains" ,
156
+ key : "category" ,
157
+ value : "Books" ,
158
+ } ,
159
+ ] ,
160
+ } ,
161
+ {
162
+ title : "文章笔记" ,
163
+ path : "articles-intro.md" ,
164
+ rules : [
165
+ {
166
+ condition : "contains" ,
167
+ key : "category" ,
168
+ value : "Articles" ,
169
+ } ,
170
+ ] ,
171
+ } ,
172
+ {
173
+ title : "关于我" ,
174
+ path : "pages/about.md" ,
175
+ subSections : [
176
+ {
177
+ title : "现在" ,
178
+ path : "pages/now.md" ,
179
+ } ,
180
+ ] ,
181
+ } ,
182
+ ] ,
183
+ config : {
184
+ book : {
185
+ "title" : "Owen博客精选" ,
186
+ "description" : "Owen的博客电子书版" ,
187
+ "src" : "content" ,
188
+ "language" : "zh" ,
189
+ "authors" : [ "Owen Young" ] ,
190
+ } ,
191
+ output : outputOptions ,
192
+ } ,
193
+ } ,
194
194
"owen-blog-archive" : {
195
195
tags : [ ] ,
196
196
chapters : [ ] ,
0 commit comments