Skip to content

Commit df72195

Browse files
committed
docs: update changelog
1 parent c9b8e39 commit df72195

12 files changed

+117
-18
lines changed

packages/theme/docs/changelog.md

+14
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ bun install vitepress@latest
2727
```
2828
:::
2929

30+
## 0.5.0 (2024/10/20)
31+
32+
### Minor Changes
33+
34+
- feat: inline group icons plugin
35+
- feat: support i18n
36+
- feat: support rewrites and dynamic routes
37+
- chore: Optimization of theme reloading logic in dev mode
38+
- Updated dependencies
39+
- @sugarat/theme-shared@0.0.3
40+
- vitepress-plugin-pagefind@0.4.11
41+
- vitepress-plugin-rss@0.3.0
42+
- vitepress-plugin-announcement@0.1.3
43+
3044
## 0.4.14 (2024/09/22)
3145

3246
### Patch Changes
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
description: wait a moment
3+
readingTime: false
4+
tag:
5+
- 配置
6+
top: 3
7+
recommend: 2
8+
outline: [2,3]
9+
---
10+
# ⭐️VitePress import
11+
12+
TODO: wait a moment
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
description: wait a moment.
3+
title: 🔧 Theme Component Config
4+
recommend: 5
5+
top: 5
6+
tag:
7+
- config
8+
---
9+
10+
# Component Config
11+
12+
TODO: wait a moment
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
description: wait a moment.
3+
title: 🔧 Frontmatter Config
4+
readingTime: false
5+
outline: [2,3]
6+
tag:
7+
- 配置
8+
top: 3
9+
recommend: 1
10+
---
11+
12+
# Frontmatter Config
13+
TODO: wait a moment
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
description: wait a moment
3+
title: 🔧 Global Config
4+
# readingTime: false
5+
tag:
6+
- Config
7+
top: 3
8+
recommend: 2
9+
outline: [2,3]
10+
---
11+
12+
# Global Config
13+
14+
TODO: wait a moment
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
description: wait a moment
3+
title: VitePress - Common
4+
tag:
5+
- config
6+
sticky: 5
7+
---
8+
9+
# Page Config
10+
11+
TODO: wait a moment
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
description: wait a moment
3+
title: 🔧 Style Config
4+
readingTime: false
5+
tag:
6+
- config
7+
top: 3
8+
recommend: 3
9+
---
10+
11+
# Style Config
12+
13+
... wait a moment

packages/theme/docs/en/index.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
title: 'VitePress Blog Theme'
33
layout: home
4-
blog:
5-
name: '@sugarat/theme'
6-
motto: 简约风的 Vitepress 博客主题
7-
inspiring:
8-
- 基于 Vitepress 定制的主题🎨
9-
- 千万不要因为走得太久,而忘记了我们为什么出发
10-
- 人生就像一场修行,你不可能一开始就修成正果
11-
- 无论多么沉重的负担,也不要忘记微笑;无论多么漫长的路程,也不要忘记坚持
12-
- 生活的真谛不在繁华,而在于淡泊
13-
inspiringTimeout: 3000
14-
pageSize: 10
4+
# blog:
5+
# name: '@sugarat/theme'
6+
# motto: 简约风的 Vitepress 博客主题
7+
# inspiring:
8+
# - 基于 Vitepress 定制的主题🎨
9+
# - 千万不要因为走得太久,而忘记了我们为什么出发
10+
# - 人生就像一场修行,你不可能一开始就修成正果
11+
# - 无论多么沉重的负担,也不要忘记微笑;无论多么漫长的路程,也不要忘记坚持
12+
# - 生活的真谛不在繁华,而在于淡泊
13+
# inspiringTimeout: 3000
14+
# pageSize: 10
1515
pagefind-indexed: false
1616
---
1717

packages/theme/docs/test/abc/dynamic/[version].md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
22
description: {{ $params.description }}
3+
date: 2024-01-01
34
---
45
# {{ $params.title }}
56

7+
description: {{ $params.description }}
8+
69
<!-- @content -->
710

8-
description: {{ $params.description }}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
export default {
22
paths: () => [
3-
{ params: { title: 'foo1', description: 'foo1 description', version: '1.0.0' }, content: 'foo1 content' },
4-
{ params: { title: 'foo2', description: 'foo1 descriptionxx', version: '2.0.0' }, content: '## 测试内容' },
5-
{ params: { title: 'bar3', description: 'foo1 descriptionxx', version: '3.0.0' } },
6-
{ params: { title: 'bar4', description: 'foo1 descriptionxx', version: '4.0.0' } }
3+
{ params: { title: '动态路由1', description: 'foo1 description', version: '1.0.0' }, content: '动态渲染内容1' },
4+
{ params: { title: '动态路由2', description: 'foo1 descriptionxx', version: '2.0.0' }, content: '## 测试内容' },
75
]
86
}
+11-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
# 测试页面
1+
---
2+
date: 2024-01-01
3+
---
4+
# 路由重写测试
25

6+
```js
7+
export default {
8+
rewrites: {
9+
'test/abc/hello/test.md': 'abc/test.md'
10+
},
11+
}
12+
```
313
123456
414

515
![alt text](abdd/image.png)

packages/theme/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sugarat/theme",
3-
"version": "0.4.14",
3+
"version": "0.5.0",
44
"description": "简约风的 Vitepress 博客主题,sugarat vitepress blog theme",
55
"author": "sugar",
66
"license": "MIT",

0 commit comments

Comments
 (0)