Use tags for categories

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Kas-tle authored and GitHub committed 2024-03-12 15:38:42 +00:00
1 parent cfbe823a78
commit d73fd0880b
31 files changed
+315 -34

No files matched your search

+24 -1
View File
@@ -12,7 +12,30 @@ import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
*/
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
apiSidebar: [{ type: 'autogenerated', dirName: 'api' }],
apiSidebar: [
{
type: "category",
label: "api.geysermc.org",
link: {
type: "generated-index",
title: "Global API",
description: "Global API",
slug: "/api/global",
},
items: require("./docs/api/api.geysermc.org/sidebar.ts"),
},
{
type: "category",
label: "download.geysermc.org",
link: {
type: "generated-index",
title: "Downloads API",
description: "Downloads API",
slug: "/api/downloads",
},
items: require("./docs/api/downloads.geysermc.org/sidebar.ts"),
},
],
geyserSidebar: [
'geyser/index',
{