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.
- package/LICENSE +1 -1
- package/README.md +35 -0
- package/lib/index.js +65 -0
- package/package.json +25 -14
- package/template/blog/.vuepress/config.ts +24 -0
- package/template/blog/.vuepress/navbar/en.ts +52 -0
- package/template/blog/.vuepress/navbar/index.ts +2 -0
- package/template/blog/.vuepress/navbar/zh.ts +52 -0
- package/template/blog/.vuepress/public/assets/images/cover1.jpg +0 -0
- package/template/blog/.vuepress/public/assets/images/cover2.jpg +0 -0
- package/template/blog/.vuepress/public/assets/images/cover3.jpg +0 -0
- package/template/blog/.vuepress/sidebar/en.ts +22 -0
- package/template/blog/.vuepress/sidebar/index.ts +2 -0
- package/template/blog/.vuepress/sidebar/zh.ts +22 -0
- package/template/blog/.vuepress/styles/config.scss +3 -0
- package/template/blog/.vuepress/styles/index.scss +1 -0
- package/template/blog/.vuepress/styles/palette.scss +2 -0
- package/template/blog/.vuepress/theme.ts +224 -0
- package/template/{i18n → blog}/README.md +5 -5
- package/template/{i18n/guide → blog/demo}/README.md +5 -4
- package/template/{i18n/guide → blog/demo}/disable.md +4 -4
- package/template/{i18n/guide → blog/demo}/encrypt.md +1 -1
- package/template/blog/demo/markdown.md +423 -0
- package/template/blog/demo/page.md +74 -0
- package/template/blog/intro.md +8 -0
- package/template/{i18n/posts/article/article1.md → blog/posts/apple/1.md} +5 -4
- package/template/{en-US/posts/article/article2.md → blog/posts/apple/2.md} +9 -4
- package/template/{i18n/posts/article/article3.md → blog/posts/apple/3.md} +6 -5
- package/template/{i18n/posts/article/article4.md → blog/posts/apple/4.md} +6 -5
- package/template/{en-US/posts/article/article5.md → blog/posts/banana/1.md} +6 -5
- package/template/{en-US/posts/article/article6.md → blog/posts/banana/2.md} +10 -5
- package/template/{i18n/posts/article/article7.md → blog/posts/banana/3.md} +5 -5
- package/template/{i18n/posts/article/article8.md → blog/posts/banana/4.md} +5 -5
- package/template/{i18n/posts/article9.md → blog/posts/cherry.md} +5 -5
- package/template/{i18n/posts/article10.md → blog/posts/dragonfruit.md} +5 -5
- package/template/{i18n/posts/article11.md → blog/posts/strawberry.md} +5 -5
- package/template/{en-US/posts/article12.md → blog/posts/tomato.md} +6 -5
- package/template/{i18n/slide.md → blog/slides.md} +8 -8
- package/template/{i18n → blog}/zh/README.md +4 -4
- package/template/{i18n/zh/guide → blog/zh/demo}/README.md +5 -4
- package/template/{i18n/zh/guide → blog/zh/demo}/disable.md +4 -4
- package/template/blog/zh/demo/markdown.md +403 -0
- package/template/blog/zh/demo/page.md +74 -0
- package/template/blog/zh/intro.md +8 -0
- package/template/{i18n/zh/posts/article/article1.md → blog/zh/posts/apple/1.md} +5 -4
- package/template/{zh-CN/posts/article/article2.md → blog/zh/posts/apple/2.md} +9 -4
- package/template/{i18n/zh/posts/article/article3.md → blog/zh/posts/apple/3.md} +6 -5
- package/template/{zh-CN/posts/article/article4.md → blog/zh/posts/apple/4.md} +6 -5
- package/template/{i18n/zh/posts/article/article5.md → blog/zh/posts/banana/1.md} +6 -5
- package/template/{i18n/zh/posts/article/article6.md → blog/zh/posts/banana/2.md} +10 -5
- package/template/{i18n/zh/posts/article/article7.md → blog/zh/posts/banana/3.md} +5 -5
- package/template/{i18n/zh/posts/article/article8.md → blog/zh/posts/banana/4.md} +5 -5
- package/template/{i18n/zh/posts/article9.md → blog/zh/posts/cherry.md} +5 -5
- package/template/{i18n/zh/posts/article10.md → blog/zh/posts/dragonfruit.md} +5 -5
- package/template/{i18n/zh/posts/article11.md → blog/zh/posts/strawberry.md} +5 -5
- package/template/{i18n/zh/posts/article12.md → blog/zh/posts/tomato.md} +6 -5
- package/template/{i18n/zh/slide.md → blog/zh/slides.md} +1 -1
- package/template/docs/.vuepress/config.ts +24 -0
- package/template/docs/.vuepress/navbar/en.ts +30 -0
- package/template/docs/.vuepress/navbar/index.ts +2 -0
- package/template/docs/.vuepress/navbar/zh.ts +30 -0
- package/template/docs/.vuepress/sidebar/en.ts +21 -0
- package/template/docs/.vuepress/sidebar/index.ts +2 -0
- package/template/docs/.vuepress/sidebar/zh.ts +21 -0
- package/template/docs/.vuepress/styles/config.scss +3 -0
- package/template/docs/.vuepress/styles/index.scss +1 -0
- package/template/docs/.vuepress/styles/palette.scss +2 -0
- package/template/docs/.vuepress/theme.ts +172 -0
- package/template/{en-US/home.md → docs/README.md} +28 -28
- package/template/{en-US/guide → docs/demo}/README.md +5 -4
- package/template/{en-US/guide → docs/demo}/disable.md +4 -4
- package/template/{en-US/guide → docs/demo}/encrypt.md +1 -1
- package/template/docs/demo/markdown.md +423 -0
- package/template/docs/demo/page.md +72 -0
- package/template/docs/guide/README.md +16 -0
- package/template/docs/guide/bar/README.md +13 -0
- package/template/docs/guide/bar/baz.md +6 -0
- package/template/docs/guide/foo/README.md +13 -0
- package/template/docs/guide/foo/ray.md +6 -0
- package/template/{en-US/slide.md → docs/slides.md} +8 -8
- package/template/{i18n/zh/home.md → docs/zh/README.md} +24 -24
- package/template/{zh-CN/guide → docs/zh/demo}/README.md +5 -4
- package/template/{zh-CN/guide → docs/zh/demo}/disable.md +4 -4
- package/template/docs/zh/demo/markdown.md +403 -0
- package/template/docs/zh/demo/page.md +72 -0
- package/template/docs/zh/guide/README.md +16 -0
- package/template/docs/zh/guide/bar/README.md +13 -0
- package/template/docs/zh/guide/bar/baz.md +6 -0
- package/template/docs/zh/guide/foo/README.md +13 -0
- package/template/docs/zh/guide/foo/ray.md +6 -0
- package/template/{zh-CN/slide.md → docs/zh/slides.md} +1 -1
- package/template/public/assets/icon/apple-icon-152.png +0 -0
- package/template/public/assets/icon/chrome-192.png +0 -0
- package/template/public/assets/icon/chrome-512.png +0 -0
- package/template/public/assets/icon/chrome-mask-192.png +0 -0
- package/template/public/assets/icon/chrome-mask-512.png +0 -0
- package/template/public/assets/icon/guide-maskable.png +0 -0
- package/template/public/assets/icon/ms-icon-144.png +0 -0
- package/CHANGELOG.md +0 -184
- package/lib/node/index.d.ts +0 -1
- package/lib/node/index.js +0 -3
- package/lib/node/index.js.map +0 -1
- package/readme.md +0 -33
- package/rollup.config.js +0 -14
- package/src/node/checkVersion.ts +0 -31
- package/src/node/copy.ts +0 -45
- package/src/node/deepAssign.ts +0 -42
- package/src/node/hasYarn.ts +0 -10
- package/src/node/i18n.ts +0 -91
- package/src/node/index.ts +0 -177
- package/src/node/registry.ts +0 -31
- package/template/en-US/.vuepress/config.ts +0 -28
- package/template/en-US/.vuepress/navbar.ts +0 -52
- package/template/en-US/.vuepress/sidebar.ts +0 -46
- package/template/en-US/.vuepress/styles/index.scss +0 -0
- package/template/en-US/.vuepress/styles/palette.scss +0 -0
- package/template/en-US/.vuepress/themeConfig.ts +0 -96
- package/template/en-US/README.md +0 -48
- package/template/en-US/guide/markdown.md +0 -341
- package/template/en-US/guide/page.md +0 -66
- package/template/en-US/intro.md +0 -7
- package/template/en-US/posts/article/article1.md +0 -19
- package/template/en-US/posts/article/article3.md +0 -20
- package/template/en-US/posts/article/article4.md +0 -20
- package/template/en-US/posts/article/article7.md +0 -20
- package/template/en-US/posts/article/article8.md +0 -20
- package/template/en-US/posts/article10.md +0 -20
- package/template/en-US/posts/article11.md +0 -20
- package/template/en-US/posts/article9.md +0 -20
- package/template/i18n/.vuepress/config.ts +0 -33
- package/template/i18n/.vuepress/navbar/en.ts +0 -52
- package/template/i18n/.vuepress/navbar/index.ts +0 -2
- package/template/i18n/.vuepress/navbar/zh.ts +0 -52
- package/template/i18n/.vuepress/public/favicon.ico +0 -0
- package/template/i18n/.vuepress/public/logo.png +0 -0
- package/template/i18n/.vuepress/public/logo.svg +0 -1
- package/template/i18n/.vuepress/sidebar/en.ts +0 -48
- package/template/i18n/.vuepress/sidebar/index.ts +0 -2
- package/template/i18n/.vuepress/sidebar/zh.ts +0 -48
- package/template/i18n/.vuepress/styles/index.scss +0 -0
- package/template/i18n/.vuepress/styles/palette.scss +0 -0
- package/template/i18n/.vuepress/themeConfig.ts +0 -124
- package/template/i18n/guide/markdown.md +0 -341
- package/template/i18n/guide/page.md +0 -66
- package/template/i18n/home.md +0 -110
- package/template/i18n/intro.md +0 -7
- package/template/i18n/posts/article/article2.md +0 -20
- package/template/i18n/posts/article/article5.md +0 -20
- package/template/i18n/posts/article/article6.md +0 -21
- package/template/i18n/posts/article12.md +0 -21
- package/template/i18n/zh/guide/markdown.md +0 -339
- package/template/i18n/zh/guide/page.md +0 -66
- package/template/i18n/zh/posts/article/article2.md +0 -20
- package/template/i18n/zh/posts/article/article4.md +0 -20
- package/template/zh-CN/.vuepress/config.ts +0 -28
- package/template/zh-CN/.vuepress/navbar.ts +0 -52
- package/template/zh-CN/.vuepress/public/favicon.ico +0 -0
- package/template/zh-CN/.vuepress/public/logo.png +0 -0
- package/template/zh-CN/.vuepress/public/logo.svg +0 -1
- package/template/zh-CN/.vuepress/sidebar.ts +0 -46
- package/template/zh-CN/.vuepress/styles/index.scss +0 -0
- package/template/zh-CN/.vuepress/styles/palette.scss +0 -0
- package/template/zh-CN/.vuepress/themeConfig.ts +0 -96
- package/template/zh-CN/README.md +0 -48
- package/template/zh-CN/guide/markdown.md +0 -339
- package/template/zh-CN/guide/page.md +0 -66
- package/template/zh-CN/home.md +0 -109
- package/template/zh-CN/posts/article/article1.md +0 -19
- package/template/zh-CN/posts/article/article3.md +0 -20
- package/template/zh-CN/posts/article/article5.md +0 -20
- package/template/zh-CN/posts/article/article6.md +0 -21
- package/template/zh-CN/posts/article/article7.md +0 -20
- package/template/zh-CN/posts/article/article8.md +0 -20
- package/template/zh-CN/posts/article10.md +0 -20
- package/template/zh-CN/posts/article11.md +0 -20
- package/template/zh-CN/posts/article12.md +0 -21
- package/template/zh-CN/posts/article9.md +0 -20
- package/tsconfig.build.json +0 -10
- package/tsconfig.json +0 -8
- /package/template/{i18n/zh/guide → blog/zh/demo}/encrypt.md +0 -0
- /package/template/{zh-CN/guide → docs/zh/demo}/encrypt.md +0 -0
- /package/template/{en-US/.vuepress/public → public}/favicon.ico +0 -0
- /package/template/{en-US/.vuepress/public → public}/logo.png +0 -0
- /package/template/{en-US/.vuepress/public → public}/logo.svg +0 -0
package/template/zh-CN/home.md
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
home: true
|
|
3
|
-
icon: home
|
|
4
|
-
title: 项目主页
|
|
5
|
-
heroImage: /logo.svg
|
|
6
|
-
heroText: 项目名称
|
|
7
|
-
tagline: 你可以在这里放置或是整个项目的描述。
|
|
8
|
-
actions:
|
|
9
|
-
- text: 使用指南 💡
|
|
10
|
-
link: /zh/guide/
|
|
11
|
-
|
|
12
|
-
- text: 博客主页 🏠
|
|
13
|
-
link: /zh/
|
|
14
|
-
type: secondary
|
|
15
|
-
|
|
16
|
-
features:
|
|
17
|
-
- title: Markdown 增强
|
|
18
|
-
icon: markdown
|
|
19
|
-
details: 新增文字对齐、上下角标、脚注、标记、任务列表、数学公式、流程图、图表与幻灯片支持
|
|
20
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/markdown/
|
|
21
|
-
|
|
22
|
-
- title: 幻灯片页面
|
|
23
|
-
icon: slides
|
|
24
|
-
details: 添加幻灯片页面以显示你喜欢的内容
|
|
25
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/layout/slides
|
|
26
|
-
|
|
27
|
-
- title: 布局增强
|
|
28
|
-
icon: layout
|
|
29
|
-
details: 添加路径导航、页脚、改进的导航栏、改进的页面导航等。
|
|
30
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/layout/
|
|
31
|
-
|
|
32
|
-
- title: 浏览量与评论
|
|
33
|
-
icon: comment
|
|
34
|
-
details: 配合 Waline 来开启阅读量统计与评论支持
|
|
35
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/feature/comment.html
|
|
36
|
-
|
|
37
|
-
- title: 文章信息
|
|
38
|
-
icon: info
|
|
39
|
-
details: 为你的文章添加作者、写作日期、预计阅读时间、字数统计等信息
|
|
40
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/feature/page-info.html
|
|
41
|
-
|
|
42
|
-
- title: 博客支持
|
|
43
|
-
icon: blog
|
|
44
|
-
details: 使用一些很棒的布局提供博客功能,通过文章的日期、标签和分类,自动生成文章、分类、标签与时间轴列表
|
|
45
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/blog/intro.html
|
|
46
|
-
|
|
47
|
-
- title: 主题色切换
|
|
48
|
-
icon: palette
|
|
49
|
-
details: 支持自定义主题色并允许用户在预设的主题颜色之间切换
|
|
50
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/interface/theme-color.html
|
|
51
|
-
|
|
52
|
-
- title: 深色模式
|
|
53
|
-
icon: contrast
|
|
54
|
-
details: 可以自由切换浅色模式与深色模式
|
|
55
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/interface/darkmode.html
|
|
56
|
-
|
|
57
|
-
- title: 完整的无障碍支持
|
|
58
|
-
icon: support
|
|
59
|
-
details: 为你的网站带来完整的无障碍支持
|
|
60
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/interface/accessibility.html
|
|
61
|
-
|
|
62
|
-
- title: 文章加密
|
|
63
|
-
icon: lock
|
|
64
|
-
details: 你可以为你的特定页面或特定目录进行加密,以便陌生人不能随意访问它们
|
|
65
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/feature/encrypt.html
|
|
66
|
-
|
|
67
|
-
- title: 复制按钮
|
|
68
|
-
icon: copy
|
|
69
|
-
details: 一键复制代码块中的代码
|
|
70
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/feature/copy-code.html
|
|
71
|
-
|
|
72
|
-
- title: 图片预览
|
|
73
|
-
icon: pic
|
|
74
|
-
details: 像相册一样允许你浏览、缩放并分享你的页面图片
|
|
75
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/feature/photo-swipe.html
|
|
76
|
-
|
|
77
|
-
- title: SEO 增强
|
|
78
|
-
icon: config
|
|
79
|
-
details: 将最终生成的网页针对搜索引擎进行优化。
|
|
80
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/advanced/seo.html
|
|
81
|
-
|
|
82
|
-
- title: Sitemap
|
|
83
|
-
icon: sitemap
|
|
84
|
-
details: 自动为你的网站生成 Sitemap
|
|
85
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/advanced/sitemap.html
|
|
86
|
-
|
|
87
|
-
- title: Feed 支持
|
|
88
|
-
icon: rss
|
|
89
|
-
details: 生成你的 Feed,并通知你的用户订阅它
|
|
90
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/advanced/feed.html
|
|
91
|
-
|
|
92
|
-
- title: PWA 支持
|
|
93
|
-
icon: mobile
|
|
94
|
-
details: 让你的网站更像一个 APP
|
|
95
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/advanced/pwa.html
|
|
96
|
-
|
|
97
|
-
- title: 更多新特性
|
|
98
|
-
icon: more
|
|
99
|
-
details: 包括图标支持、全屏按钮、返回顶部按钮等
|
|
100
|
-
link: https://vuepress-theme-hope.github.io/v2/zh/guide/feature/
|
|
101
|
-
copyright: false
|
|
102
|
-
footer: MIT Licensed | Copyright © 2019-present Mr.Hope
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
这是普通主页的案例。你可以在这里放置你的主体内容。
|
|
106
|
-
|
|
107
|
-
想要使用此布局,你需要在页面 front matter 中设置 `home: true`。
|
|
108
|
-
|
|
109
|
-
配置项的相关说明详见 [项目主页配置](https://vuepress-theme-hope.github.io/v2/zh/guide/layout/home/)。
|
package/tsconfig.build.json
DELETED
package/tsconfig.json
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|