mirror of
https://github.com/jellyfin/jellyfin.org.git
synced 2024-11-27 08:00:40 +00:00
25 lines
701 B
TypeScript
25 lines
701 B
TypeScript
import { SidebarConfig } from '@docusaurus/plugin-content-docs/src/sidebars/types';
|
|
|
|
/**
|
|
* 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: SidebarConfig = {
|
|
// By default, Docusaurus generates a sidebar from the docs folder structure
|
|
docs: [
|
|
// "docs/general" pages
|
|
'index',
|
|
{ type: 'autogenerated', dirName: 'general' },
|
|
{ type: 'link', label: 'API Documentation', href: 'https://api.jellyfin.org' }
|
|
]
|
|
};
|
|
|
|
export default sidebars;
|