feat: add footer links

This commit is contained in:
Ryan Wang
2021-10-08 20:02:24 +08:00
parent 048ce27ce6
commit b43c1d3301
4 changed files with 118 additions and 45 deletions

View File

@@ -9,7 +9,7 @@
Create as many sidebars as you want.
*/
module.exports = {
module.exports = {
// By default, Docusaurus generates a sidebar from the docs folder structure
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
@@ -25,78 +25,72 @@ module.exports = {
type: "category",
label: "安装指南",
items: [
'getting-started/install/linux',
'getting-started/install/docker',
"getting-started/install/linux",
"getting-started/install/docker",
{
type: 'category',
label: '其他指南',
type: "category",
label: "其他指南",
items: [
'getting-started/install/other/bt-panel',
'getting-started/install/other/oneinstack',
'getting-started/install/other/tencent-cloudbase',
"getting-started/install/other/bt-panel",
"getting-started/install/other/oneinstack",
"getting-started/install/other/tencent-cloudbase",
{
type: 'link',
label: '腾讯云开发者实验室',
href: 'https://cloud.tencent.com/developer/labs/lab/10523'
}
]
type: "link",
label: "腾讯云开发者实验室",
href: "https://cloud.tencent.com/developer/labs/lab/10523",
},
],
},
'getting-started/install/third-party',
"getting-started/install/third-party",
],
},
'getting-started/config',
'getting-started/upgrade',
'getting-started/downloads',
"getting-started/config",
"getting-started/upgrade",
"getting-started/downloads",
],
},
{
type: "category",
label: "用户指南",
items: [
'user-guide/backup-migration',
'user-guide/markdown',
],
items: ["user-guide/backup-migration", "user-guide/markdown"],
},
{
type: "category",
label: "开发者指南",
items: [
{
type: 'category',
label: '系统开发',
type: "category",
label: "系统开发",
items: [
'developer-guide/core/structure',
'developer-guide/core/prepare',
'developer-guide/core/code-style',
]
"developer-guide/core/structure",
"developer-guide/core/prepare",
"developer-guide/core/code-style",
],
},
{
type: 'category',
label: '主题开发',
type: "category",
label: "主题开发",
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',
]
"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'
}
type: "link",
label: "REST API",
href: "https://api.halo.run",
},
],
},
{
type: "category",
label: "参与贡献",
items: [
'contribution/issue',
'contribution/pr',
'contribution/sponsor',
],
items: ["contribution/issue", "contribution/pr", "contribution/sponsor"],
},
"about",
],
};