Skip to content

Commit 99afaa9

Browse files
committed
Fixed navbar versioning
1 parent 983e672 commit 99afaa9

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

cspr-docs/config/theme.navbar.config.js

+10-15
Original file line numberDiff line numberDiff line change
@@ -12,37 +12,32 @@ module.exports = {
1212
},
1313
items: [
1414
{
15-
type: "docsVersion",
16-
to: `${routePrefix}/concepts`,
17-
activeBasePath: `${routePrefix}/concepts`,
15+
type: "docSidebar",
16+
sidebarId: "concepts",
1817
label: "Concepts",
1918
position: "left",
2019
},
2120
{
22-
type: "docsVersion",
23-
to: `/developers`,
24-
activeBasePath: `${routePrefix}/developers`,
21+
type: "docSidebar",
22+
sidebarId: "developers",
2523
label: "Developers",
2624
position: "left",
2725
},
2826
{
29-
type: "docsVersion",
30-
to: `${routePrefix}/operators`,
31-
activeBasePath: `${routePrefix}/operators`,
27+
type: "docSidebar",
28+
sidebarId: "operators",
3229
label: "Operators",
3330
position: "left",
3431
},
3532
{
36-
type: "docsVersion",
37-
to: `${routePrefix}/users`,
38-
activeBasePath: `${routePrefix}/users`,
33+
type: "docSidebar",
34+
sidebarId: "users",
3935
label: "Users",
4036
position: "left",
4137
},
4238
{
43-
type: "docsVersion",
44-
to: `${routePrefix}/resources`,
45-
activeBasePath: `${routePrefix}/resources`,
39+
type: "docSidebar",
40+
sidebarId: "resources",
4641
label: "Resources",
4742
position: "left",
4843
},

0 commit comments

Comments
 (0)