create-vuepress-theme-hope 2.0.0-beta.21 → 2.0.0-beta.210

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +35 -0
  3. package/lib/index.js +65 -0
  4. package/package.json +25 -14
  5. package/template/blog/.vuepress/config.ts +24 -0
  6. package/template/blog/.vuepress/navbar/en.ts +52 -0
  7. package/template/blog/.vuepress/navbar/index.ts +2 -0
  8. package/template/blog/.vuepress/navbar/zh.ts +52 -0
  9. package/template/blog/.vuepress/public/assets/images/cover1.jpg +0 -0
  10. package/template/blog/.vuepress/public/assets/images/cover2.jpg +0 -0
  11. package/template/blog/.vuepress/public/assets/images/cover3.jpg +0 -0
  12. package/template/blog/.vuepress/sidebar/en.ts +22 -0
  13. package/template/blog/.vuepress/sidebar/index.ts +2 -0
  14. package/template/blog/.vuepress/sidebar/zh.ts +22 -0
  15. package/template/blog/.vuepress/styles/config.scss +3 -0
  16. package/template/blog/.vuepress/styles/index.scss +1 -0
  17. package/template/blog/.vuepress/styles/palette.scss +2 -0
  18. package/template/blog/.vuepress/theme.ts +224 -0
  19. package/template/{i18n → blog}/README.md +5 -5
  20. package/template/{i18n/guide → blog/demo}/README.md +5 -4
  21. package/template/{i18n/guide → blog/demo}/disable.md +4 -4
  22. package/template/{i18n/guide → blog/demo}/encrypt.md +1 -1
  23. package/template/blog/demo/markdown.md +423 -0
  24. package/template/blog/demo/page.md +74 -0
  25. package/template/blog/intro.md +8 -0
  26. package/template/{i18n/posts/article/article1.md → blog/posts/apple/1.md} +5 -4
  27. package/template/{en-US/posts/article/article2.md → blog/posts/apple/2.md} +9 -4
  28. package/template/{i18n/posts/article/article3.md → blog/posts/apple/3.md} +6 -5
  29. package/template/{i18n/posts/article/article4.md → blog/posts/apple/4.md} +6 -5
  30. package/template/{en-US/posts/article/article5.md → blog/posts/banana/1.md} +6 -5
  31. package/template/{en-US/posts/article/article6.md → blog/posts/banana/2.md} +10 -5
  32. package/template/{i18n/posts/article/article7.md → blog/posts/banana/3.md} +5 -5
  33. package/template/{i18n/posts/article/article8.md → blog/posts/banana/4.md} +5 -5
  34. package/template/{i18n/posts/article9.md → blog/posts/cherry.md} +5 -5
  35. package/template/{i18n/posts/article10.md → blog/posts/dragonfruit.md} +5 -5
  36. package/template/{i18n/posts/article11.md → blog/posts/strawberry.md} +5 -5
  37. package/template/{en-US/posts/article12.md → blog/posts/tomato.md} +6 -5
  38. package/template/{i18n/slide.md → blog/slides.md} +8 -8
  39. package/template/{i18n → blog}/zh/README.md +4 -4
  40. package/template/{i18n/zh/guide → blog/zh/demo}/README.md +5 -4
  41. package/template/{i18n/zh/guide → blog/zh/demo}/disable.md +4 -4
  42. package/template/blog/zh/demo/markdown.md +403 -0
  43. package/template/blog/zh/demo/page.md +74 -0
  44. package/template/blog/zh/intro.md +8 -0
  45. package/template/{i18n/zh/posts/article/article1.md → blog/zh/posts/apple/1.md} +5 -4
  46. package/template/{zh-CN/posts/article/article2.md → blog/zh/posts/apple/2.md} +9 -4
  47. package/template/{i18n/zh/posts/article/article3.md → blog/zh/posts/apple/3.md} +6 -5
  48. package/template/{zh-CN/posts/article/article4.md → blog/zh/posts/apple/4.md} +6 -5
  49. package/template/{i18n/zh/posts/article/article5.md → blog/zh/posts/banana/1.md} +6 -5
  50. package/template/{i18n/zh/posts/article/article6.md → blog/zh/posts/banana/2.md} +10 -5
  51. package/template/{i18n/zh/posts/article/article7.md → blog/zh/posts/banana/3.md} +5 -5
  52. package/template/{i18n/zh/posts/article/article8.md → blog/zh/posts/banana/4.md} +5 -5
  53. package/template/{i18n/zh/posts/article9.md → blog/zh/posts/cherry.md} +5 -5
  54. package/template/{i18n/zh/posts/article10.md → blog/zh/posts/dragonfruit.md} +5 -5
  55. package/template/{i18n/zh/posts/article11.md → blog/zh/posts/strawberry.md} +5 -5
  56. package/template/{i18n/zh/posts/article12.md → blog/zh/posts/tomato.md} +6 -5
  57. package/template/{i18n/zh/slide.md → blog/zh/slides.md} +1 -1
  58. package/template/docs/.vuepress/config.ts +24 -0
  59. package/template/docs/.vuepress/navbar/en.ts +30 -0
  60. package/template/docs/.vuepress/navbar/index.ts +2 -0
  61. package/template/docs/.vuepress/navbar/zh.ts +30 -0
  62. package/template/docs/.vuepress/sidebar/en.ts +21 -0
  63. package/template/docs/.vuepress/sidebar/index.ts +2 -0
  64. package/template/docs/.vuepress/sidebar/zh.ts +21 -0
  65. package/template/docs/.vuepress/styles/config.scss +3 -0
  66. package/template/docs/.vuepress/styles/index.scss +1 -0
  67. package/template/docs/.vuepress/styles/palette.scss +2 -0
  68. package/template/docs/.vuepress/theme.ts +172 -0
  69. package/template/{en-US/home.md → docs/README.md} +28 -28
  70. package/template/{en-US/guide → docs/demo}/README.md +5 -4
  71. package/template/{en-US/guide → docs/demo}/disable.md +4 -4
  72. package/template/{en-US/guide → docs/demo}/encrypt.md +1 -1
  73. package/template/docs/demo/markdown.md +423 -0
  74. package/template/docs/demo/page.md +72 -0
  75. package/template/docs/guide/README.md +16 -0
  76. package/template/docs/guide/bar/README.md +13 -0
  77. package/template/docs/guide/bar/baz.md +6 -0
  78. package/template/docs/guide/foo/README.md +13 -0
  79. package/template/docs/guide/foo/ray.md +6 -0
  80. package/template/{en-US/slide.md → docs/slides.md} +8 -8
  81. package/template/{i18n/zh/home.md → docs/zh/README.md} +24 -24
  82. package/template/{zh-CN/guide → docs/zh/demo}/README.md +5 -4
  83. package/template/{zh-CN/guide → docs/zh/demo}/disable.md +4 -4
  84. package/template/docs/zh/demo/markdown.md +403 -0
  85. package/template/docs/zh/demo/page.md +72 -0
  86. package/template/docs/zh/guide/README.md +16 -0
  87. package/template/docs/zh/guide/bar/README.md +13 -0
  88. package/template/docs/zh/guide/bar/baz.md +6 -0
  89. package/template/docs/zh/guide/foo/README.md +13 -0
  90. package/template/docs/zh/guide/foo/ray.md +6 -0
  91. package/template/{zh-CN/slide.md → docs/zh/slides.md} +1 -1
  92. package/template/public/assets/icon/apple-icon-152.png +0 -0
  93. package/template/public/assets/icon/chrome-192.png +0 -0
  94. package/template/public/assets/icon/chrome-512.png +0 -0
  95. package/template/public/assets/icon/chrome-mask-192.png +0 -0
  96. package/template/public/assets/icon/chrome-mask-512.png +0 -0
  97. package/template/public/assets/icon/guide-maskable.png +0 -0
  98. package/template/public/assets/icon/ms-icon-144.png +0 -0
  99. package/CHANGELOG.md +0 -184
  100. package/lib/node/index.d.ts +0 -1
  101. package/lib/node/index.js +0 -3
  102. package/lib/node/index.js.map +0 -1
  103. package/readme.md +0 -33
  104. package/rollup.config.js +0 -14
  105. package/src/node/checkVersion.ts +0 -31
  106. package/src/node/copy.ts +0 -45
  107. package/src/node/deepAssign.ts +0 -42
  108. package/src/node/hasYarn.ts +0 -10
  109. package/src/node/i18n.ts +0 -91
  110. package/src/node/index.ts +0 -177
  111. package/src/node/registry.ts +0 -31
  112. package/template/en-US/.vuepress/config.ts +0 -28
  113. package/template/en-US/.vuepress/navbar.ts +0 -52
  114. package/template/en-US/.vuepress/sidebar.ts +0 -46
  115. package/template/en-US/.vuepress/styles/index.scss +0 -0
  116. package/template/en-US/.vuepress/styles/palette.scss +0 -0
  117. package/template/en-US/.vuepress/themeConfig.ts +0 -96
  118. package/template/en-US/README.md +0 -48
  119. package/template/en-US/guide/markdown.md +0 -341
  120. package/template/en-US/guide/page.md +0 -66
  121. package/template/en-US/intro.md +0 -7
  122. package/template/en-US/posts/article/article1.md +0 -19
  123. package/template/en-US/posts/article/article3.md +0 -20
  124. package/template/en-US/posts/article/article4.md +0 -20
  125. package/template/en-US/posts/article/article7.md +0 -20
  126. package/template/en-US/posts/article/article8.md +0 -20
  127. package/template/en-US/posts/article10.md +0 -20
  128. package/template/en-US/posts/article11.md +0 -20
  129. package/template/en-US/posts/article9.md +0 -20
  130. package/template/i18n/.vuepress/config.ts +0 -33
  131. package/template/i18n/.vuepress/navbar/en.ts +0 -52
  132. package/template/i18n/.vuepress/navbar/index.ts +0 -2
  133. package/template/i18n/.vuepress/navbar/zh.ts +0 -52
  134. package/template/i18n/.vuepress/public/favicon.ico +0 -0
  135. package/template/i18n/.vuepress/public/logo.png +0 -0
  136. package/template/i18n/.vuepress/public/logo.svg +0 -1
  137. package/template/i18n/.vuepress/sidebar/en.ts +0 -48
  138. package/template/i18n/.vuepress/sidebar/index.ts +0 -2
  139. package/template/i18n/.vuepress/sidebar/zh.ts +0 -48
  140. package/template/i18n/.vuepress/styles/index.scss +0 -0
  141. package/template/i18n/.vuepress/styles/palette.scss +0 -0
  142. package/template/i18n/.vuepress/themeConfig.ts +0 -124
  143. package/template/i18n/guide/markdown.md +0 -341
  144. package/template/i18n/guide/page.md +0 -66
  145. package/template/i18n/home.md +0 -110
  146. package/template/i18n/intro.md +0 -7
  147. package/template/i18n/posts/article/article2.md +0 -20
  148. package/template/i18n/posts/article/article5.md +0 -20
  149. package/template/i18n/posts/article/article6.md +0 -21
  150. package/template/i18n/posts/article12.md +0 -21
  151. package/template/i18n/zh/guide/markdown.md +0 -339
  152. package/template/i18n/zh/guide/page.md +0 -66
  153. package/template/i18n/zh/posts/article/article2.md +0 -20
  154. package/template/i18n/zh/posts/article/article4.md +0 -20
  155. package/template/zh-CN/.vuepress/config.ts +0 -28
  156. package/template/zh-CN/.vuepress/navbar.ts +0 -52
  157. package/template/zh-CN/.vuepress/public/favicon.ico +0 -0
  158. package/template/zh-CN/.vuepress/public/logo.png +0 -0
  159. package/template/zh-CN/.vuepress/public/logo.svg +0 -1
  160. package/template/zh-CN/.vuepress/sidebar.ts +0 -46
  161. package/template/zh-CN/.vuepress/styles/index.scss +0 -0
  162. package/template/zh-CN/.vuepress/styles/palette.scss +0 -0
  163. package/template/zh-CN/.vuepress/themeConfig.ts +0 -96
  164. package/template/zh-CN/README.md +0 -48
  165. package/template/zh-CN/guide/markdown.md +0 -339
  166. package/template/zh-CN/guide/page.md +0 -66
  167. package/template/zh-CN/home.md +0 -109
  168. package/template/zh-CN/posts/article/article1.md +0 -19
  169. package/template/zh-CN/posts/article/article3.md +0 -20
  170. package/template/zh-CN/posts/article/article5.md +0 -20
  171. package/template/zh-CN/posts/article/article6.md +0 -21
  172. package/template/zh-CN/posts/article/article7.md +0 -20
  173. package/template/zh-CN/posts/article/article8.md +0 -20
  174. package/template/zh-CN/posts/article10.md +0 -20
  175. package/template/zh-CN/posts/article11.md +0 -20
  176. package/template/zh-CN/posts/article12.md +0 -21
  177. package/template/zh-CN/posts/article9.md +0 -20
  178. package/tsconfig.build.json +0 -10
  179. package/tsconfig.json +0 -8
  180. /package/template/{i18n/zh/guide → blog/zh/demo}/encrypt.md +0 -0
  181. /package/template/{zh-CN/guide → docs/zh/demo}/encrypt.md +0 -0
  182. /package/template/{en-US/.vuepress/public → public}/favicon.ico +0 -0
  183. /package/template/{en-US/.vuepress/public → public}/logo.png +0 -0
  184. /package/template/{en-US/.vuepress/public → public}/logo.svg +0 -0
@@ -1,341 +0,0 @@
1
- ---
2
- index: 2
3
- icon: markdown
4
- title: Markdown Enhance
5
- category:
6
- - Guide
7
- tag:
8
- - markdown
9
- ---
10
-
11
- Every document page in VuePress is rendered by Markdown.
12
-
13
- You need to build your document or blog page by creating and writing Markdown in the corresponding path.
14
-
15
- <!-- more -->
16
-
17
- ## Markdown introduction
18
-
19
- If you are a new learner and don’t know how to write Markdown, please read [Markdown Intro](https://vuepress-theme-hope.github.io/v2/basic/markdown/README.html) and [Markdown Demo](https://vuepress-theme-hope.github.io/v2/basic/markdown/demo.html).
20
-
21
- ::: info Frontmatter
22
-
23
- Frontmatter is a important concept in VuePress. If you don’t know it, you need to read [Frontmatter Introduction](https://vuepress-theme-hope.github.io/v2/basic/vuepress/page.html#front-matter).
24
-
25
- :::
26
-
27
- ## VuePress enhance
28
-
29
- To enrich document writing, VuePress has extended Markdown syntax.
30
-
31
- For these extensions, please read [Markdown extensions in VuePress](https://vuepress-theme-hope.github.io/v2/basic/vuepress/markdown.html).
32
-
33
- ## Theme enhance
34
-
35
- ### Enable all
36
-
37
- You can set `themeconfig.plugins.htmlEnhance.enableAll` to enable all features of the [md-enhance](https://vuepress-theme-hope.github.io/v2/md-enhance/) plugin.
38
-
39
- ```js {3-5}
40
- module.exports = {
41
- themeConfig: {
42
- plugins: {
43
- mdEnhance: {
44
- enableAll: true,
45
- },
46
- },
47
- },
48
- };
49
- ```
50
-
51
- ## New Feature
52
-
53
- ### Custom Container
54
-
55
- ::: v-pre
56
-
57
- Safely use {{ variable }} in markdown.
58
-
59
- :::
60
-
61
- ::: info Custom Title
62
-
63
- A custom information container with `code`, [link](#markdown).
64
-
65
- ```js
66
- const a = 1;
67
- ```
68
-
69
- :::
70
-
71
- ::: tip Custom Title
72
-
73
- A custom tip container
74
-
75
- :::
76
-
77
- ::: warning Custom Title
78
-
79
- A custom warning container
80
-
81
- :::
82
-
83
- ::: danger Custom Title
84
-
85
- A custom danger container
86
-
87
- :::
88
-
89
- ::: details Custom Title
90
-
91
- A custom details container
92
-
93
- :::
94
-
95
- :::: details Code
96
-
97
- ```md
98
- ::: v-pre
99
-
100
- Safely use {{ variable }} in markdown.
101
-
102
- :::
103
-
104
- ::: info Custom Title
105
-
106
- A custom information container
107
-
108
- :::
109
-
110
- ::: tip Custom Title
111
-
112
- A custom tip container
113
-
114
- :::
115
-
116
- ::: warning Custom Title
117
-
118
- A custom warning container
119
-
120
- :::
121
-
122
- ::: danger Custom Title
123
-
124
- A custom danger container
125
-
126
- :::
127
-
128
- ::: details Custom Title
129
-
130
- A custom details container
131
-
132
- :::
133
- ```
134
-
135
- ::::
136
-
137
- ### CodeGroup
138
-
139
- :::: code-group
140
-
141
- ::: code-group-item yarn
142
-
143
- ```bash
144
- yarn add -D vuepress-theme-hope
145
- ```
146
-
147
- :::
148
-
149
- ::: code-group-item npm:active
150
-
151
- ```bash
152
- npm i -D vuepress-theme-hope
153
- ```
154
-
155
- :::
156
-
157
- ::::
158
-
159
- - [View Detail](https://vuepress-theme-hope.github.io/v2/guide/markdown/code-group.html)
160
-
161
- ### Superscript and Subscript
162
-
163
- 19^th^ H~2~O
164
-
165
- - [View Detail](https://vuepress-theme-hope.github.io/v2/guide/markdown/sup-sub.html)
166
-
167
- ### Align
168
-
169
- ::: center
170
-
171
- I am center
172
-
173
- :::
174
-
175
- ::: right
176
-
177
- I am right align
178
-
179
- :::
180
-
181
- - [View Detail](https://vuepress-theme-hope.github.io/v2/guide/markdown/align.html)
182
-
183
- ### Footnote
184
-
185
- This text has footnote[^first].
186
-
187
- [^first]: This is footnote content
188
-
189
- - [View Detail](https://vuepress-theme-hope.github.io/v2/guide/markdown/footnote.html)
190
-
191
- ### Mark
192
-
193
- You can mark ==important words== .
194
-
195
- - [View Detail](https://vuepress-theme-hope.github.io/v2/guide/markdown/mark.html)
196
-
197
- ### Tasklist
198
-
199
- - [x] Plan A
200
- - [ ] Plan B
201
-
202
- - [View Detail](https://vuepress-theme-hope.github.io/v2/guide/markdown/tasklist.html)
203
-
204
- ### Chart
205
-
206
- ::: chart A Scatter Chart
207
-
208
- ```json
209
- {
210
- "type": "scatter",
211
- "data": {
212
- "datasets": [
213
- {
214
- "label": "Scatter Dataset",
215
- "data": [
216
- { "x": -10, "y": 0 },
217
- { "x": 0, "y": 10 },
218
- { "x": 10, "y": 5 },
219
- { "x": 0.5, "y": 5.5 }
220
- ],
221
- "backgroundColor": "rgb(255, 99, 132)"
222
- }
223
- ]
224
- },
225
- "options": {
226
- "scales": {
227
- "x": {
228
- "type": "linear",
229
- "position": "bottom"
230
- }
231
- }
232
- }
233
- }
234
- ```
235
-
236
- :::
237
-
238
- - [View Detail](<[chart.md](https://vuepress-theme-hope.github.io/v2/guide/markdown/chart.html)>)
239
-
240
- ### Flowchart
241
-
242
- ```flow
243
- cond=>condition: Process?
244
- process=>operation: Process
245
- e=>end: End
246
-
247
- cond(yes)->process->e
248
- cond(no)->e
249
- ```
250
-
251
- - [View Detail](https://vuepress-theme-hope.github.io/v2/guide/markdown/flowchart.html)
252
-
253
- ### Mermaid
254
-
255
- ```mermaid
256
- flowchart TB
257
- c1-->a2
258
- subgraph one
259
- a1-->a2
260
- end
261
- subgraph two
262
- b1-->b2
263
- end
264
- subgraph three
265
- c1-->c2
266
- end
267
- one --> two
268
- three --> two
269
- two --> c2
270
- ```
271
-
272
- - [View Detail](https://vuepress-theme-hope.github.io/v2/guide/markdown/mermaid.html)
273
-
274
- ### Tex
275
-
276
- $$
277
- \frac {\partial^r} {\partial \omega^r} \left(\frac {y^{\omega}} {\omega}\right)
278
- = \left(\frac {y^{\omega}} {\omega}\right) \left\{(\log y)^r + \sum_{i=1}^r \frac {(-1)^i r \cdots (r-i+1) (\log y)^{r-i}} {\omega^i} \right\}
279
- $$
280
-
281
- - [View Detail](https://vuepress-theme-hope.github.io/v2/guide/markdown/tex.html)
282
-
283
- ### Code Demo
284
-
285
- ::: demo A normal demo
286
-
287
- ```html
288
- <h1>VuePress Theme Hope</h1>
289
- <p>Is <span id="very">very</span> powerful!</p>
290
- ```
291
-
292
- ```js
293
- document.querySelector("#very").addEventListener("click", () => {
294
- alert("Very powerful!");
295
- });
296
- ```
297
-
298
- ```css
299
- span {
300
- color: red;
301
- }
302
- ```
303
-
304
- :::
305
-
306
- - [View Detail](https://vuepress-theme-hope.github.io/v2/guide/markdown/demo.html)
307
-
308
- ### Presentation
309
-
310
- @slidestart
311
-
312
- ## Slide 1
313
-
314
- A paragraph with some text and a [link](https://mrhope.site)
315
-
316
- ---
317
-
318
- ## Slide 2
319
-
320
- - Item 1
321
- - Item 2
322
-
323
- ---
324
-
325
- ## Slide 3.1
326
-
327
- ```js
328
- const a = 1;
329
- ```
330
-
331
- --
332
-
333
- ## Slide 3.2
334
-
335
- $$
336
- J(\theta_0,\theta_1) = \sum_{i=0}
337
- $$
338
-
339
- @slideend
340
-
341
- - [View Detail](https://vuepress-theme-hope.github.io/v2/guide/markdown/presentation.html)
@@ -1,66 +0,0 @@
1
- ---
2
- # This control sidebar index
3
- index: 1
4
- # This is the icon of the page
5
- icon: page
6
- # This is the title of the article
7
- title: page config
8
- # Set author
9
- author: Ms.Hope
10
- # Set writing time
11
- date: 2020-01-01
12
- # A page can have multiple categories
13
- category:
14
- - Guide
15
- # A page can have multiple tags
16
- tag:
17
- - Page config
18
- - Guide
19
- # this page is sticky in article list
20
- sticky: true
21
- # this page will appear in aricle channel in home page
22
- star: true
23
- # You can customize the footer
24
- footer: Footer content for test
25
- ---
26
-
27
- Content before `more` comment is regarded as page excerpt.
28
-
29
- <!-- more -->
30
-
31
- ## Page information
32
-
33
- You can set page information in Markdown’s Frontmatter.
34
-
35
- - The author is set to Ms.Hope.
36
-
37
- - The writing time should be January 1, 2020
38
-
39
- - Category is "Guide"
40
-
41
- - Tags are "Page Config" and "Guide"
42
-
43
- ## Page content
44
-
45
- You are free to write your Markdown here.
46
-
47
- ::: tip
48
-
49
- - Please use the relative link `./` for pictures in the Markdown folder.
50
-
51
- - For pictures in `.vuepress/public` folder, please use absolute link `/` for reference
52
-
53
- :::
54
-
55
- The theme contains a custom badge:
56
-
57
- > A dark blue badge text badge at the end of line. <Badge text="Badge text" color="#242378" />
58
-
59
- ## Page structure
60
-
61
- This page should contain:
62
-
63
- - Back to top button
64
- - Route navigation
65
- - Comments
66
- - Footer
@@ -1,7 +0,0 @@
1
- ---
2
- icon: info
3
- ---
4
-
5
- # Intro Page
6
-
7
- Place your introducation and profile here.
@@ -1,19 +0,0 @@
1
- ---
2
- icon: edit
3
- date: 2022-01-01
4
- category:
5
- - CategoryA
6
- tag:
7
- - tag A
8
- - tag B
9
- ---
10
-
11
- # Article 1
12
-
13
- ## Heading 2
14
-
15
- Here is the content.
16
-
17
- ### Heading 3
18
-
19
- Here is the content.
@@ -1,20 +0,0 @@
1
- ---
2
- icon: edit
3
- date: 2022-01-03
4
- category:
5
- - CategoryA
6
- - CategoryB
7
- tag:
8
- - tag A
9
- - tag B
10
- ---
11
-
12
- # Article 3
13
-
14
- ## Heading 2
15
-
16
- Here is the content.
17
-
18
- ### Heading 3
19
-
20
- Here is the content.
@@ -1,20 +0,0 @@
1
- ---
2
- icon: edit
3
- date: 2022-01-04
4
- category:
5
- - CategoryA
6
- - CategoryB
7
- tag:
8
- - tag A
9
- - tag B
10
- ---
11
-
12
- # Article 4
13
-
14
- ## Heading 2
15
-
16
- Here is the content.
17
-
18
- ### Heading 3
19
-
20
- Here is the content.
@@ -1,20 +0,0 @@
1
- ---
2
- icon: edit
3
- date: 2022-01-07
4
- category:
5
- - CategoryA
6
- - CategoryB
7
- tag:
8
- - tag A
9
- - tag B
10
- ---
11
-
12
- # Article 7
13
-
14
- ## Heading 2
15
-
16
- Here is the content.
17
-
18
- ### Heading 3
19
-
20
- Here is the content.
@@ -1,20 +0,0 @@
1
- ---
2
- icon: edit
3
- date: 2022-01-08
4
- category:
5
- - CategoryA
6
- - CategoryB
7
- tag:
8
- - tag A
9
- - tag B
10
- ---
11
-
12
- # Article 8
13
-
14
- ## Heading 2
15
-
16
- Here is the content.
17
-
18
- ### Heading 3
19
-
20
- Here is the content.
@@ -1,20 +0,0 @@
1
- ---
2
- icon: edit
3
- date: 2022-01-10
4
- category:
5
- - CategoryA
6
- - CategoryB
7
- tag:
8
- - tag A
9
- - tag B
10
- ---
11
-
12
- # Article 10
13
-
14
- ## Heading 2
15
-
16
- Here is the content.
17
-
18
- ### Heading 3
19
-
20
- Here is the content.
@@ -1,20 +0,0 @@
1
- ---
2
- icon: edit
3
- date: 2022-01-11
4
- category:
5
- - CategoryA
6
- - CategoryB
7
- tag:
8
- - tag A
9
- - tag B
10
- ---
11
-
12
- # Article 11
13
-
14
- ## Heading 2
15
-
16
- Here is the content.
17
-
18
- ### Heading 3
19
-
20
- Here is the content.
@@ -1,20 +0,0 @@
1
- ---
2
- icon: edit
3
- date: 2022-01-09
4
- category:
5
- - CategoryA
6
- - CategoryB
7
- tag:
8
- - tag A
9
- - tag B
10
- ---
11
-
12
- # Article 9
13
-
14
- ## Heading 2
15
-
16
- Here is the content.
17
-
18
- ### Heading 3
19
-
20
- Here is the content.
@@ -1,33 +0,0 @@
1
- import { defineHopeConfig } from "vuepress-theme-hope";
2
- import themeConfig from "./themeConfig";
3
-
4
- export default defineHopeConfig({
5
- base: "/",
6
-
7
- dest: "./dist",
8
-
9
- head: [
10
- [
11
- "link",
12
- {
13
- rel: "stylesheet",
14
- href: "//at.alicdn.com/t/font_2410206_mfj6e1vbwo.css",
15
- },
16
- ],
17
- ],
18
-
19
- locales: {
20
- "/": {
21
- lang: "en-US",
22
- title: "Theme Demo",
23
- description: "A demo for vuepress-theme-hope",
24
- },
25
- "/zh/": {
26
- lang: "zh-CN",
27
- title: "主题演示",
28
- description: "vuepress-theme-hope 的演示",
29
- },
30
- },
31
-
32
- themeConfig,
33
- });
@@ -1,52 +0,0 @@
1
- import { defineNavbarConfig } from "vuepress-theme-hope";
2
-
3
- export const en = defineNavbarConfig([
4
- "/",
5
- "/home",
6
- { text: "Guide", icon: "creative", link: "/guide/" },
7
- {
8
- text: "Posts",
9
- icon: "edit",
10
- prefix: "/posts/",
11
- children: [
12
- {
13
- text: "Articles 1-4",
14
- icon: "edit",
15
- prefix: "article/",
16
- children: [
17
- { text: "Article 1", icon: "edit", link: "article1" },
18
- { text: "Article 2", icon: "edit", link: "article2" },
19
- "article3",
20
- "article4",
21
- ],
22
- },
23
- {
24
- text: "Articles 5-12",
25
- icon: "edit",
26
- children: [
27
- {
28
- text: "Article 5",
29
- icon: "edit",
30
- link: "article/article5",
31
- },
32
- {
33
- text: "Article 6",
34
- icon: "edit",
35
- link: "article/article6",
36
- },
37
- "article/article7",
38
- "article/article8",
39
- ],
40
- },
41
- { text: "Article 9", icon: "edit", link: "article9" },
42
- { text: "Article 10", icon: "edit", link: "article10" },
43
- "article11",
44
- "article12",
45
- ],
46
- },
47
- {
48
- text: "Theme Docs",
49
- icon: "note",
50
- link: "https://vuepress-theme-hope.github.io/v2/",
51
- },
52
- ]);
@@ -1,2 +0,0 @@
1
- export * from "./en";
2
- export * from "./zh";