Skip to content

Commit 7175147

Browse files
committed
docs: add changelog link to header docs
1 parent 0c67e35 commit 7175147

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.changeset/silly-teeth-camp.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"mobx-view-model": patch
3+
---
4+
5+
added changelog link to docs

docs/.vitepress/config.mts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@ export default defineConfig({
3636
nav: [
3737
{ text: 'Home', link: '/' },
3838
{ text: 'Introduction', link: '/introduction/overview' },
39+
{ text: 'Changelog', link: `https://github.com/${author}/${packageName}/releases` },
3940
{
40-
text: `v${version}`,
41+
text: `${version}`,
4142
items: [
4243
{
4344
items: [
4445
{
45-
text: `v${version}`,
46-
link: `https://github.com/${author}/${packageName}/releases/tag/v${version}`,
46+
text: `${version}`,
47+
link: `https://github.com/${author}/${packageName}/releases/tag/${version}`,
4748
},
4849
],
4950
},

0 commit comments

Comments
 (0)