neko/webpage/sidebars.ts
2025-02-18 22:44:48 +01:00

85 lines
2.2 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 = {
docsSidebar: [
{
type: 'category',
label: 'Getting Started',
items: [{ type: "autogenerated", dirName: "getting-started" }]
},
{
type: 'category',
label: 'User Guide',
items: [{ type: "autogenerated", dirName: "user-guide" }]
},
{
type: 'category',
label: 'Hardware Acceleration',
items: [{ type: "autogenerated", dirName: "hardware-acceleration" }]
},
{
type: 'category',
label: 'Application Customization',
items: [{ type: "autogenerated", dirName: "app-customization" }]
},
{
type: 'category',
label: 'Advanced Topics',
items: [{ type: "autogenerated", dirName: "advanced-topics" }]
},
{
type: 'category',
label: 'Developer Guide',
items: [{ type: "autogenerated", dirName: "developer-guide" }]
},
{
type: 'category',
label: 'Deployment & Scaling',
items: [{ type: "autogenerated", dirName: "deployment-and-scaling" }]
},
{
type: 'category',
label: 'Integration & Extensibility',
items: [{ type: "autogenerated", dirName: "integration-and-extensibility" }]
},
{
type: 'category',
label: 'Changelog & Releases',
items: [{ type: "autogenerated", dirName: "changelog-and-releases" }]
},
{
type: 'link',
label: 'API Reference',
href: '/docs/v3/api',
},
],
apiSidebar: [
{
type: "category",
label: "API Reference",
collapsible: false,
link: {
type: "generated-index",
title: "Neko API",
description:
"The api API is a set of RESTful web services that allow you to interact with the api.",
slug: "/api"
},
items: require("./docs/api/sidebar.js")
}
]
};
export default sidebars;