mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 07:52:12 +08:00
77 lines
1.8 KiB
JavaScript
77 lines
1.8 KiB
JavaScript
/**
|
|
* 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.
|
|
*/
|
|
|
|
// @ts-check
|
|
|
|
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
|
const sidebars = {
|
|
// By default, Docusaurus generates a sidebar from the docs folder structure
|
|
docs: [
|
|
{ type: "autogenerated", dirName: "." },
|
|
{
|
|
type: "category",
|
|
label: "Contributing",
|
|
collapsible: true,
|
|
collapsed: false,
|
|
items: [
|
|
{
|
|
type: "link",
|
|
label: "Ways of contributing",
|
|
href: "/contributing/ways-of-contributing",
|
|
},
|
|
{
|
|
type: "link",
|
|
label: "Setting up a Development Environment",
|
|
href: "/contributing/setting-up-a-dev-environment",
|
|
},
|
|
{
|
|
type: "link",
|
|
label: "Developing New Features",
|
|
href: "/contributing/developing-new-features",
|
|
},
|
|
{
|
|
type: "link",
|
|
label: "Fixing Bugs",
|
|
href: "/contributing/fixing-bugs",
|
|
},
|
|
{
|
|
type: "link",
|
|
label: "Testing",
|
|
href: "/contributing/testing",
|
|
},
|
|
{
|
|
type: "link",
|
|
label: "Documenting",
|
|
href: "/contributing/documenting",
|
|
},
|
|
{
|
|
type: "link",
|
|
label: "Helping Others",
|
|
href: "/contributing/helping-others",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
|
|
// But you can create a sidebar manually
|
|
/*
|
|
tutorialSidebar: [
|
|
{
|
|
type: 'category',
|
|
label: 'Tutorial',
|
|
items: ['hello'],
|
|
},
|
|
],
|
|
*/
|
|
};
|
|
|
|
module.exports = sidebars;
|