diff --git a/docusaurus.config.js b/docusaurus.config.js index b0f5697..56b84bc 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -119,6 +119,12 @@ const config = { position: 'left', activeBaseRegex: "/sdk", }, + { + to: 'api', + label: 'API Reference', + position: 'left', + activeBaseRegex: "/api", + }, { to: 'changelog', label: 'Changelog', diff --git a/sidebars.js b/sidebars.js index 558bdbe..2eb8805 100644 --- a/sidebars.js +++ b/sidebars.js @@ -341,7 +341,7 @@ const sidebars = { type: "generated-index", title: "API", description: "test", - slug: "/category/api" + slug: "/api" }, // @ts-ignore items: require("./docs/api/sidebar.js")