Skip to content

Commit d065ab4

Browse files
committed
feat: add header with version and changelog link
1 parent 1594f67 commit d065ab4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

vocs.config.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { defineConfig } from "vocs"
22

3+
const version = "1.10.0"
4+
35
export default defineConfig({
46
title: "Polkadot-API",
57
description: "Typescript API to interact with polkadot chains",
@@ -9,6 +11,15 @@ export default defineConfig({
911
text: "Guide",
1012
link: "/getting-started",
1113
},
14+
{
15+
text: `${version}`,
16+
items: [
17+
{
18+
text: "Changelog",
19+
link: `https://github.com/polkadot-api/polkadot-api/releases/tag/polkadot-api${encodeURIComponent("@")}${version}`,
20+
},
21+
],
22+
},
1223
],
1324
sidebar: [
1425
{

0 commit comments

Comments
 (0)