You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docs/sidebars.js

93 lines
2.4 KiB

3 years ago
/**
* 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.
*/
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
module.exports = {
3 years ago
// By default, Docusaurus generates a sidebar from the docs folder structure
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
tutorialSidebar: [
"intro",
{
type: "category",
label: "入门",
collapsed: false,
items: [
"getting-started/prepare",
{
type: "category",
label: "安装指南",
items: [
// "getting-started/install/linux",
"getting-started/install/docker",
// "getting-started/install/docker-compose",
3 years ago
],
},
// "getting-started/config",
// "getting-started/upgrade",
// "getting-started/downloads",
],
3 years ago
},
// {
// type: "category",
// label: "用户指南",
// items: [
// "user-guide/backup-migration",
// "user-guide/markdown",
// "user-guide/faq",
// ],
// },
3 years ago
{
type: "category",
label: "开发者指南",
items: [
{
type: "category",
label: "系统开发",
3 years ago
items: [
// "developer-guide/core/structure",
"developer-guide/core/prepare",
// "developer-guide/core/code-style",
],
3 years ago
},
{
type: "category",
label: "插件开发",
items: ["developer-guide/plugin/prepare"],
},
3 years ago
{
type: "category",
label: "主题开发",
3 years ago
items: [
"developer-guide/theme/prepare",
// "developer-guide/theme/config-files",
// "developer-guide/theme/global-variable",
// "developer-guide/theme/public-template-tag",
// "developer-guide/theme/page-variable",
// "developer-guide/theme/template-tag",
],
},
// {
// type: "link",
// label: "REST API",
// href: "https://api.halo.run",
// },
3 years ago
],
},
{
type: "category",
label: "参与贡献",
items: ["contribution/issue", "contribution/pr"],
3 years ago
},
"about",
3 years ago
],
};