Files
archived-drop-docs/sidebars.ts
Paco a0ee3c4196 Improves docs. (#15)
Fixes a 404 in the getting started guide.
Replaces the client page with the getting-started page.
2025-10-22 13:46:15 +11:00

73 lines
1.7 KiB
TypeScript

import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
defaultSidebar: [
{
type: "category",
label: "Admin Guides",
items: [
"guides/quickstart",
"guides/exposing",
"guides/server-troubleshooting",
],
},
{
type: "category",
label: "User Guides",
items: ["guides/getting-started", "guides/client-troubleshooting"],
},
{
type: "category",
label: "Metadata",
items: ["metadata/giantbomb", "metadata/igdb", "metadata/pcgamingwiki"],
},
{
type: "category",
label: "Authentication",
items: ["authentication/simple", "authentication/oidc"],
},
{
type: "category",
label: "Advanced",
items: [
"advanced/building",
"advanced/building-windows",
"advanced/certificates",
],
},
{
type: "category",
label: "Documentation",
items: ["library"],
},
],
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
*/
};
export default sidebars;