Skip to content

Commit be30d27

Browse files
christiannwambansklikas
authored andcommitted
feat: new horizontal nav (#2018)
* feat: new docs nav * fix: add start page to navbar * fix: add homepages to horizontal nav items
1 parent 8f8e534 commit be30d27

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

docusaurus.config.ts

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -97,35 +97,39 @@ const config: Config = {
9797
height: 32,
9898
},
9999
items: [
100+
// Main feature sections
100101
{
101-
type: "docSidebar",
102+
to: "/getting-started/overview",
103+
label: "Start",
102104
position: "left",
103-
sidebarId: "docs",
104-
label: "Documentation",
105105
},
106106
{
107-
type: "docSidebar",
107+
to: "/docs/identities",
108+
label: "Identity",
108109
position: "left",
109-
sidebarId: "quickstarts-and-tutorials",
110-
label: "Quickstart",
111110
},
112111
{
113-
type: "docSidebar",
112+
to: "/docs/oauth2-oidc",
113+
// to: "/docs/federation", // TODO: Use this route
114+
label: "Federation",
114115
position: "left",
115-
sidebarId: "guides",
116-
label: "Guides",
117116
},
118117
{
119-
type: "docSidebar",
118+
to: "/docs/keto",
119+
// to: "/docs/permissions", // TODO: Use this route
120+
label: "Permissions",
120121
position: "left",
121-
sidebarId: "reference",
122-
label: "Reference",
123122
},
124123
{
125-
type: "docSidebar",
124+
to: "/docs/open-source",
125+
label: "Open Source",
126+
position: "left",
127+
},
128+
{
129+
to: "/docs/reference/api",
130+
// to: "/docs/reference", // TODO: Use this route
131+
label: "Reference",
126132
position: "left",
127-
sidebarId: "selfhosting",
128-
label: "Self-hosting",
129133
},
130134
{
131135
label: "Need Support?",

0 commit comments

Comments
 (0)