Skip to content

Commit e1611de

Browse files
committed
re-order menu items
1 parent 2b58eb9 commit e1611de

1 file changed

Lines changed: 33 additions & 32 deletions

File tree

  • docs/.vitepress/config

docs/.vitepress/config/en.ts

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -91,47 +91,48 @@ function nav() {
9191
function sidebarGuide() {
9292
return [
9393
{
94-
text: "Guide",
94+
text: "Introduction",
95+
collapsed: false,
9596
items: [
9697
{ text: "What is MMRL", link: "/guide/" },
98+
{ text: "How a Module Card Works", link: "/guide/how-a-module-card-works" },
9799
{ text: "Anti-Features", link: "/guide/antifeatures" },
98100
{ text: "Installer API", link: "/guide/installer" },
99-
{ text: "How a Module Card Works", link: "/guide/how-a-module-card-works" },
100-
{
101-
text: "WebUI X",
102-
link: "/guide/webuix/",
103-
collapsed: true,
104-
items: [
105-
{
106-
text: "API",
107-
collapsed: true,
108-
items: [
109-
{ text: "ModuleInterface", link: "/guide/webuix/api/ModuleInterface" },
110-
{ text: "FileInterface", link: "/guide/webuix/api/FileInterface" },
111-
{ text: "FileInputInterface", link: "/guide/webuix/api/FileInputInterface" },
112-
{ text: "ApplicationInterface", link: "/guide/webuix/api/ApplicationInterface" },
113-
{ text: "UserManagerInterface", link: "/guide/webuix/api/UserManagerInterface" },
114-
{ text: "PackageManagerInterface", link: "/guide/webuix/api/PackageManagerInterface" },
115-
],
116-
},
117-
{ text: "Index Setup", link: "/guide/webuix/index-setup" },
118-
{ text: "Config", link: "/guide/webuix/config" },
119-
{ text: "Events", link: "/guide/webuix/events" },
120-
{ text: "Sanitized Module ID's", link: "/guide/webuix/sanitized-ids" },
121-
{ text: "Shortcuts", link: "/guide/webuix/shortcuts" },
122-
],
123-
},
101+
{ text: "FAQ", link: "/guide/faq" },
102+
],
103+
},
104+
{
105+
text: "WebUI X",
106+
collapsed: false,
107+
items: [
124108
{
125-
text: "MMRL-Util",
109+
text: "API",
126110
collapsed: true,
127111
items: [
128-
{ text: "Getting Started", link: "/guide/mmrl-util/" },
129-
{ text: "repo.json", link: "/guide/mmrl-util/repo-json" },
130-
{ text: "track.json", link: "/guide/mmrl-util/track-json" },
131-
{ text: "config.json", link: "/guide/mmrl-util/config-json" },
112+
{ text: "ModuleInterface", link: "/guide/webuix/api/ModuleInterface" },
113+
{ text: "FileInterface", link: "/guide/webuix/api/FileInterface" },
114+
{ text: "FileInputInterface", link: "/guide/webuix/api/FileInputInterface" },
115+
{ text: "ApplicationInterface", link: "/guide/webuix/api/ApplicationInterface" },
116+
{ text: "UserManagerInterface", link: "/guide/webuix/api/UserManagerInterface" },
117+
{ text: "PackageManagerInterface", link: "/guide/webuix/api/PackageManagerInterface" },
132118
],
133119
},
134-
{ text: "FAQ", link: "/guide/faq" },
120+
{ text: "What is WebUI X", link: "/guide/webuix" },
121+
{ text: "Index Setup", link: "/guide/webuix/index-setup" },
122+
{ text: "Config", link: "/guide/webuix/config" },
123+
{ text: "Events", link: "/guide/webuix/events" },
124+
{ text: "Sanitized Module ID's", link: "/guide/webuix/sanitized-ids" },
125+
{ text: "Shortcuts", link: "/guide/webuix/shortcuts" },
126+
],
127+
},
128+
{
129+
text: "MMRL-Util",
130+
collapsed: false,
131+
items: [
132+
{ text: "Getting Started", link: "/guide/mmrl-util/" },
133+
{ text: "repo.json", link: "/guide/mmrl-util/repo-json" },
134+
{ text: "track.json", link: "/guide/mmrl-util/track-json" },
135+
{ text: "config.json", link: "/guide/mmrl-util/config-json" },
135136
],
136137
},
137138
];

0 commit comments

Comments
 (0)