Skip to content

Commit

Permalink
feat: docs category page
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Jun 27, 2024
1 parent 02d2acb commit 4ff7a24
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
4 changes: 0 additions & 4 deletions docs/docs/smart-contract-api/index.md

This file was deleted.

4 changes: 0 additions & 4 deletions docs/docs/web-api/index.md

This file was deleted.

23 changes: 22 additions & 1 deletion sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 4ff7a24

Please sign in to comment.