Skip to content

Commit 9e65b1a

Browse files
authored
Merge pull request #148 from Peefy/add-package-sidebar-link
feat: add packages navbar.
2 parents 6005f65 + 8d2d92e commit 9e65b1a

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docusaurus.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,14 @@ const config = {
184184
sidebarId: 'tools',
185185
label: 'Tools',
186186
},
187+
{
188+
href: 'https://github.com/orgs/kcl-lang/packages',
189+
position: 'left',
190+
sidebarId: 'packages',
191+
label: 'Packages',
192+
},
187193
{
188194
href: 'http://play.kcl-lang.io/',
189-
// type: 'docSidebar',
190195
position: 'left',
191196
sidebarId: 'playground',
192197
label: 'Playground',

i18n/en/docusaurus-theme-classic/navbar.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
"message": "Playground",
3636
"description": "Navbar item with label Playground"
3737
},
38+
"item.label.Packages": {
39+
"message": "Packages",
40+
"description": "Navbar item with label Packages"
41+
},
3842
"item.label.Examples": {
3943
"message": "Examples",
4044
"description": "Navbar item with label Examples"

0 commit comments

Comments
 (0)