Skip to content

Commit

Permalink
feat: add packages navbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peefy committed Aug 31, 2023
1 parent 35003cb commit 8d2d92e
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 8d2d92e

Please sign in to comment.