From 5b28c19586bacf1e38fa14294ac0f3ab766db84c Mon Sep 17 00:00:00 2001 From: Martin Helmich Date: Mon, 24 Jun 2024 21:28:34 +0200 Subject: [PATCH] Fix duplicate reference index document --- docusaurus.config.ts | 2 +- sidebars.js | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index f717a954..d7f34932 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -132,7 +132,7 @@ const config: Config = { }, { type: "doc", - docId: "/reference", + docId: "reference/index", position: "left", label: "Reference", }, diff --git a/sidebars.js b/sidebars.js index ee7bc3f5..3c1969c4 100644 --- a/sidebars.js +++ b/sidebars.js @@ -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"] } } ],