Skip to content

Commit

Permalink
fix: sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Jun 26, 2024
1 parent 37cd365 commit fe20e5a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
sidebar_position: 5
sidebar_position: 0
title: Docs Reference
---
4 changes: 2 additions & 2 deletions docs/learn/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
sidebar_position: 2
sidebar_position: 0
title: Understanding aelf
---
---
2 changes: 0 additions & 2 deletions docs/quick-start/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
sidebar_position: 1
title: Quick Start
---

# Quick start
2 changes: 1 addition & 1 deletion docs/resources/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
sidebar_position: 6
sidebar_position: 0
title: Resources
---
4 changes: 2 additions & 2 deletions docs/tools/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
sidebar_position: 4
sidebar_position: 0
title: Tools
---
---
9 changes: 8 additions & 1 deletion sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ const sidebars: SidebarsConfig = [
].reduce((acc, cur) => {
return {
...acc,
[cur]: [{ type: "autogenerated", dirName: cur }],
[cur]: [
{
type: "category",
label: " ",
collapsible: false,
items: [{ type: "autogenerated", dirName: cur }],
},
],
};
}, {} as SidebarsConfig);

Expand Down

0 comments on commit fe20e5a

Please sign in to comment.