diff --git a/docs/docs/smart-contract-api/index.md b/docs/docs/smart-contract-api/index.md deleted file mode 100644 index 5ca7d9f..0000000 --- a/docs/docs/smart-contract-api/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 2 -title: Smart Contract API ---- diff --git a/docs/docs/web-api/index.md b/docs/docs/web-api/index.md deleted file mode 100644 index a8d043e..0000000 --- a/docs/docs/web-api/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 1 -title: Web API ---- \ No newline at end of file diff --git a/sidebars.ts b/sidebars.ts index 7adeac1..49becf9 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -45,7 +45,28 @@ const sidebars: SidebarsConfig = { type: "generated-index", slug: "/docs", }, - items: [{ type: "autogenerated", dirName: "docs" }], + items: [ + { + type: "category", + label: "Smart Contract API", + link: { + type: "generated-index", + slug: "/docs/smart-contract-api", + }, + items: [ + { type: "autogenerated", dirName: "docs/smart-contract-api" }, + ], + }, + { + type: "category", + label: "Web API", + link: { + type: "generated-index", + slug: "/docs/web-api", + }, + items: [{ type: "autogenerated", dirName: "docs/web-api" }], + }, + ], }, ], tutorials: [