Skip to content

Commit

Permalink
docs: fix the navbar based on the latest feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
aindrajaya committed Mar 8, 2024
1 parent 3743da2 commit 1718192
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 28 deletions.
105 changes: 77 additions & 28 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ const sidebars = {
items: [
"guides/best-practices",
"guides/thread",
"guides/faq",
]
},
{
Expand All @@ -186,24 +185,54 @@ const sidebars = {
collapsible: false,
className: "head_Menu",
items: [
"guides/models/README",
"guides/models/customize-engine",
"guides/models/import-models",
"guides/models/integrate-remote",
"guides/extensions/README",
"guides/extensions/import-ext",
"guides/extensions/setup-ext",
"guides/integration/README",
"guides/integration/azure",
"guides/integration/discord",
"guides/integration/groq",
"guides/integration/lmstudio",
"guides/integration/mistral",
"guides/integration/ollama",
"guides/integration/openinterpreter",
"guides/integration/openrouter",
"guides/integration/raycast",
"guides/integration/vscode",
{
type: "category",
label: "Advanced Model Setup",
className: "head_SubMenu",
link: {
type: 'doc',
id: "guides/models/README",
},
items: [
"guides/models/customize-engine",
"guides/models/import-models",
"guides/models/integrate-remote",
]
},
{
type: "category",
label: "Extensions",
className: "head_SubMenu",
link: {
type: 'doc',
id: "guides/extensions/README",
},
items: [
"guides/extensions/import-ext",
"guides/extensions/setup-ext",
]
},
{
type: "category",
label: "Integrations",
className: "head_SubMenu",
link: {
type: 'doc',
id: "guides/integration/README",
},
items: [
"guides/integration/azure",
"guides/integration/discord",
"guides/integration/groq",
"guides/integration/lmstudio",
"guides/integration/mistral",
"guides/integration/ollama",
"guides/integration/openinterpreter",
"guides/integration/openrouter",
"guides/integration/raycast",
"guides/integration/vscode",
]
},
]
},
{
Expand All @@ -212,15 +241,35 @@ const sidebars = {
collapsible: false,
className: "head_Menu",
items: [
"guides/common-error/README",
"guides/common-error/broken-build",
"guides/common-error/not-using-gpu",
"guides/error-codes/README",
"guides/error-codes/how-to-get-error-logs",
"guides/error-codes/permission-denied",
"guides/error-codes/something-amiss",
"guides/error-codes/undefined-issue",
"guides/error-codes/unexpected-token",
{
type: "category",
label: "Error Codes",
className: "head_SubMenu",
link: {
type: 'doc',
id: "guides/error-codes/README",
},
items: [
"guides/error-codes/how-to-get-error-logs",
"guides/error-codes/permission-denied",
"guides/error-codes/something-amiss",
"guides/error-codes/undefined-issue",
"guides/error-codes/unexpected-token",
]
},
{
type: "category",
label: "Common Error",
className: "head_SubMenu",
link: {
type: 'doc',
id: "guides/common-error/README",
},
items: [
"guides/common-error/broken-build",
"guides/common-error/not-using-gpu",
]
},
"guides/faq"
]
},
Expand Down
7 changes: 7 additions & 0 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@
font-weight: normal;
background-color: white;
margin-bottom: 5px; /* Adjust margin as needed */
}

.head_SubMenu div {
font-weight: normal;
background-color: white;
margin-left: 0rem;
font-size: medium;
}

0 comments on commit 1718192

Please sign in to comment.