-
Notifications
You must be signed in to change notification settings - Fork 2
/
sidebars.js
53 lines (48 loc) · 1.49 KB
/
sidebars.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/**
* 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
// 默认情况下,Docusaurus 从 docs 文件夹结构中生成一个侧边栏
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually 但是您可以手动创建侧边栏
/*
tutorialSidebar: [
{
type: 'category',
label: 'Tutorial',
items: ['hello'],
},
],
*/
docs: [
'MDN',
'MDN-line',
{
type: 'autogenerated',
dirName: 'study-notes',
},
'intro',
],
interview: [
{
type: 'autogenerated',
dirName: 'interview-questions'
}
],
UHF: [
{
type: 'autogenerated',
dirName: 'UHFInterviewQuestions',
},
],
};
module.exports = sidebars;