2024-11-30 19:31:24 +00:00
|
|
|
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 = {
|
2024-12-02 18:41:26 +00:00
|
|
|
// By default, Docusaurus generates a sidebar from the docs folder structure
|
|
|
|
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
|
2024-11-30 19:31:24 +00:00
|
|
|
|
2024-12-02 18:41:26 +00:00
|
|
|
// But you can create a sidebar manually
|
2024-11-30 20:00:25 +00:00
|
|
|
|
2024-12-02 18:41:26 +00:00
|
|
|
defaultSidebar: [
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'Introduction',
|
|
|
|
id: 'intro',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'Versions',
|
|
|
|
id: 'versions',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'Compiling',
|
|
|
|
id: 'compiling',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'Permissions',
|
|
|
|
id: 'permissions',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'Configuration files',
|
|
|
|
items: ['customization/config', 'customization/messages', `customization/commandblocker`],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: 'category',
|
|
|
|
label: 'Modules',
|
2024-12-02 21:00:34 +00:00
|
|
|
items: ['modules/introduction', 'modules/bukkittelnet', 'modules/falseop', 'modules/httpd',
|
|
|
|
'modules/libsdisguises', 'modules/nickminimessage', 'modules/nush'],
|
2024-12-02 18:41:26 +00:00
|
|
|
},
|
2024-12-02 19:34:48 +00:00
|
|
|
{
|
2024-12-02 21:00:34 +00:00
|
|
|
type: 'doc',
|
|
|
|
label: 'Creating a Module',
|
|
|
|
id: 'create_module',
|
2024-12-02 19:34:48 +00:00
|
|
|
},
|
2024-12-02 18:41:26 +00:00
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'Indefinite Bans',
|
|
|
|
id: 'indefinitebans',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: 'doc',
|
|
|
|
label: 'Configuring Redis',
|
|
|
|
id: 'redis',
|
|
|
|
},
|
|
|
|
],
|
2024-11-30 19:31:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default sidebars;
|