Skip to content

Commit

Permalink
Merge pull request #148 from Peefy/add-package-sidebar-link
Browse files Browse the repository at this point in the history
feat: add packages navbar.
  • Loading branch information
Peefy authored Aug 31, 2023
2 parents 6005f65 + 8d2d92e commit 9e65b1a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,14 @@ const config = {
sidebarId: 'tools',
label: 'Tools',
},
{
href: 'https://github.com/orgs/kcl-lang/packages',
position: 'left',
sidebarId: 'packages',
label: 'Packages',
},
{
href: 'http://play.kcl-lang.io/',
// type: 'docSidebar',
position: 'left',
sidebarId: 'playground',
label: 'Playground',
Expand Down
4 changes: 4 additions & 0 deletions i18n/en/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
"message": "Playground",
"description": "Navbar item with label Playground"
},
"item.label.Packages": {
"message": "Packages",
"description": "Navbar item with label Packages"
},
"item.label.Examples": {
"message": "Examples",
"description": "Navbar item with label Examples"
Expand Down

0 comments on commit 9e65b1a

Please sign in to comment.