Skip to content

Commit

Permalink
Fix duplicate reference index document
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Jun 24, 2024
1 parent 3c35532 commit 5b28c19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const config: Config = {
},
{
type: "doc",
docId: "/reference",
docId: "reference/index",
position: "left",
label: "Reference",
},
Expand Down
10 changes: 6 additions & 4 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ const sidebars = {
label: "API Reference",
items: require("./sidebar.reference.json"),
link: {
type: "generated-index",
title: "API Reference",
slug: "/reference",
keywords: ["api-reference"]
type: "doc",
id: "reference/index"
// type: "generated-index",
// title: "API Reference",
// slug: "/reference",
// keywords: ["api-reference"]
}
}
],
Expand Down

0 comments on commit 5b28c19

Please sign in to comment.