Skip to content

Commit

Permalink
docs: fix changelog link
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinhuish committed Oct 18, 2024
1 parent e0e5223 commit 40b4fcc
Show file tree
Hide file tree
Showing 4 changed files with 481 additions and 231 deletions.
6 changes: 3 additions & 3 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default async () => {
lang: 'zh-CN',
base: '/uni-use/',
srcDir: '.',
srcExclude: ['!(docs|src)/**'],
// srcExclude: ['!(docs|src)/**'],
rewrites: {
'docs/:name.md': ':name.md',
'docs/:doc/:name.md': ':doc/:name.md',
Expand All @@ -30,7 +30,7 @@ export default async () => {
nav: [
{ text: '指南', link: '/guide/' },
{ text: 'API', link: '/apis/' },
{ text: 'ChangeLog', link: 'https://github.com/uni-helper/uni-use/blob/main/CHANGELOG.md' },
{ text: 'ChangeLog', link: '/CHANGELOG.md' },
],

sidebar: {
Expand All @@ -48,7 +48,7 @@ export default async () => {
},
{
text: '更新日志',
link: 'https://github.com/uni-helper/uni-use/blob/main/CHANGELOG.md',
link: '/CHANGELOG.md',
},
{
text: '所有函数',
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export default defineConfig({

## 资源

- [改动日志](https://github.com/uni-helper/uni-use/tree/main/CHANGELOG.md)
- [改动日志](/CHANGELOG.md)

## 致谢

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"peerDependencies": {
"@vueuse/core": "^9.0.0 || ^10.0.0",
"typescript": "^4.5.0 || ^5.0.0",
"vue": "3.2.47"
"vue": "^3.2.47"
},
"peerDependenciesMeta": {
"typescript": {
Expand Down
Loading

0 comments on commit 40b4fcc

Please sign in to comment.