Skip to content

Commit

Permalink
WIP: navbar add events menu (KusionStack#167)
Browse files Browse the repository at this point in the history
navbar add events menu
  • Loading branch information
chai2010 authored Oct 24, 2022
1 parent 5893ef1 commit 7342cfd
Show file tree
Hide file tree
Showing 10 changed files with 225 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/events/2022/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "2022",
"position": 3
}
1 change: 1 addition & 0 deletions docs/events/2022/glcc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# GitLink Code Camp
4 changes: 4 additions & 0 deletions docs/events/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Events",
"position": 0
}
7 changes: 7 additions & 0 deletions docs/events/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
sidebar_position: 0
---
# KusionStack Events

## 2022-10-24 GitLink Code Camp

7 changes: 7 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ const config = {

{to: '/blog', label: 'Blog', position: 'left'},

{
type: 'docSidebar',
position: 'left',
sidebarId: 'events',
label: 'Events',
},

//{
// type: 'docsVersionDropdown',
// position: 'right',
Expand Down
184 changes: 184 additions & 0 deletions i18n/en/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
Expand Up @@ -518,5 +518,189 @@
"sidebar.reference.category. System Module": {
"message": " System Module",
"description": "The label for category System Module in sidebar reference"
},
"sidebar.docs.category.Events": {
"message": "Events",
"description": "The label for category Events in sidebar docs"
},
"sidebar.docs.category.2022": {
"message": "2022",
"description": "The label for category 2022 in sidebar docs"
},
"sidebar.docs.category.Reference": {
"message": "Reference",
"description": "The label for category Reference in sidebar docs"
},
"sidebar.docs.category.Command Line Tools": {
"message": "Command Line Tools",
"description": "The label for category Command Line Tools in sidebar docs"
},
"sidebar.docs.category.Kusion Tools": {
"message": "Kusion Tools",
"description": "The label for category Kusion Tools in sidebar docs"
},
"sidebar.docs.category.KCL Tools": {
"message": "KCL Tools",
"description": "The label for category KCL Tools in sidebar docs"
},
"sidebar.docs.category.OpenAPI Tools": {
"message": "OpenAPI Tools",
"description": "The label for category OpenAPI Tools in sidebar docs"
},
"sidebar.docs.category.Use Case": {
"message": "Use Case",
"description": "The label for category Use Case in sidebar docs"
},
"sidebar.docs.category.Kusion Model Library": {
"message": "Kusion Model Library",
"description": "The label for category Kusion Model Library in sidebar docs"
},
"sidebar.docs.category.Core Model Library": {
"message": "Core Model Library",
"description": "The label for category Core Model Library in sidebar docs"
},
"sidebar.docs.category.Konfig": {
"message": "Konfig",
"description": "The label for category Konfig in sidebar docs"
},
"sidebar.docs.category.Build Kusion": {
"message": "Build Kusion",
"description": "The label for category Build Kusion in sidebar docs"
},
"sidebar.docs.category.Design and Implementation": {
"message": "Design and Implementation",
"description": "The label for category Design and Implementation in sidebar docs"
},
"sidebar.docs.category.Community": {
"message": "Community",
"description": "The label for category Community in sidebar docs"
},
"sidebar.docs.category.Release Policy": {
"message": "Release Policy",
"description": "The label for category Release Policy in sidebar docs"
},
"sidebar.docs.category.Contribution Guide": {
"message": "Contribution Guide",
"description": "The label for category Contribution Guide in sidebar docs"
},
"sidebar.docs.category.Introduction": {
"message": "Introduction",
"description": "The label for category Introduction in sidebar docs"
},
"sidebar.docs.category.Get Started": {
"message": "Get Started",
"description": "The label for category Get Started in sidebar docs"
},
"sidebar.docs.category.Download & Install": {
"message": "Download & Install",
"description": "The label for category Download & Install in sidebar docs"
},
"sidebar.docs.category.Architecture & Concepts": {
"message": "Architecture & Concepts",
"description": "The label for category Architecture & Concepts in sidebar docs"
},
"sidebar.docs.category.User Guide": {
"message": "User Guide",
"description": "The label for category User Guide in sidebar docs"
},
"sidebar.docs.category.Adopting KusionStack": {
"message": "Adopting KusionStack",
"description": "The label for category Adopting KusionStack in sidebar docs"
},
"sidebar.docs.category.Project Best Practices": {
"message": "Project Best Practices",
"description": "The label for category Project Best Practices in sidebar docs"
},
"sidebar.docs.category.Manage Sensitive Information": {
"message": "Manage Sensitive Information",
"description": "The label for category Manage Sensitive Information in sidebar docs"
},
"sidebar.user_docs.category.Introduction": {
"message": "Introduction",
"description": "The label for category Introduction in sidebar user_docs"
},
"sidebar.user_docs.category.Get Started": {
"message": "Get Started",
"description": "The label for category Get Started in sidebar user_docs"
},
"sidebar.user_docs.category.Download & Install": {
"message": "Download & Install",
"description": "The label for category Download & Install in sidebar user_docs"
},
"sidebar.user_docs.category.Architecture & Concepts": {
"message": "Architecture & Concepts",
"description": "The label for category Architecture & Concepts in sidebar user_docs"
},
"sidebar.user_docs.category.User Guide": {
"message": "User Guide",
"description": "The label for category User Guide in sidebar user_docs"
},
"sidebar.user_docs.category.Adopting KusionStack": {
"message": "Adopting KusionStack",
"description": "The label for category Adopting KusionStack in sidebar user_docs"
},
"sidebar.user_docs.category.Project Best Practices": {
"message": "Project Best Practices",
"description": "The label for category Project Best Practices in sidebar user_docs"
},
"sidebar.user_docs.category.Manage Sensitive Information": {
"message": "Manage Sensitive Information",
"description": "The label for category Manage Sensitive Information in sidebar user_docs"
},
"sidebar.reference.category.Command Line Tools": {
"message": "Command Line Tools",
"description": "The label for category Command Line Tools in sidebar reference"
},
"sidebar.reference.category.Kusion Tools": {
"message": "Kusion Tools",
"description": "The label for category Kusion Tools in sidebar reference"
},
"sidebar.reference.category.KCL Tools": {
"message": "KCL Tools",
"description": "The label for category KCL Tools in sidebar reference"
},
"sidebar.reference.category.OpenAPI Tools": {
"message": "OpenAPI Tools",
"description": "The label for category OpenAPI Tools in sidebar reference"
},
"sidebar.reference.category.Use Case": {
"message": "Use Case",
"description": "The label for category Use Case in sidebar reference"
},
"sidebar.reference.category.Kusion Model Library": {
"message": "Kusion Model Library",
"description": "The label for category Kusion Model Library in sidebar reference"
},
"sidebar.reference.category.Core Model Library": {
"message": "Core Model Library",
"description": "The label for category Core Model Library in sidebar reference"
},
"sidebar.reference.category.Konfig": {
"message": "Konfig",
"description": "The label for category Konfig in sidebar reference"
},
"sidebar.develop.category.Build Kusion": {
"message": "Build Kusion",
"description": "The label for category Build Kusion in sidebar develop"
},
"sidebar.develop.category.Design and Implementation": {
"message": "Design and Implementation",
"description": "The label for category Design and Implementation in sidebar develop"
},
"sidebar.governance.category.Community": {
"message": "Community",
"description": "The label for category Community in sidebar governance"
},
"sidebar.governance.category.Release Policy": {
"message": "Release Policy",
"description": "The label for category Release Policy in sidebar governance"
},
"sidebar.governance.category.Contribution Guide": {
"message": "Contribution Guide",
"description": "The label for category Contribution Guide in sidebar governance"
},
"sidebar.events.category.2022": {
"message": "2022",
"description": "The label for category 2022 in sidebar events"
}
}
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 @@ -22,5 +22,9 @@
"item.label.Blog": {
"message": "Blog",
"description": "Navbar item with label Blog"
},
"item.label.Events": {
"message": "Events",
"description": "Navbar item with label Events"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# GitLink Code Camp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
sidebar_position: 0
---
# KusionStack Events

## 2022-10-24 GitLink Code Camp

6 changes: 6 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ const sidebars = {
label: 'changelog',
},
],
events: [
{
type: 'autogenerated',
dirName: 'events',
},
],
};

module.exports = sidebars;

0 comments on commit 7342cfd

Please sign in to comment.