mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-28 14:08:29 +02:00
add API reference.
This commit is contained in:
parent
a7287dca25
commit
5886d946b2
75 changed files with 9361 additions and 253 deletions
|
@ -13,21 +13,73 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
|
|||
Create as many sidebars as you want.
|
||||
*/
|
||||
const sidebars: SidebarsConfig = {
|
||||
// By default, Docusaurus generates a sidebar from the docs folder structure
|
||||
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
|
||||
|
||||
// But you can create a sidebar manually
|
||||
/*
|
||||
tutorialSidebar: [
|
||||
'intro',
|
||||
'hello',
|
||||
docsSidebar: [
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Tutorial',
|
||||
items: ['tutorial-basics/create-a-document'],
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue