-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebars.js
77 lines (71 loc) · 2.25 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/**
* 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
// leftSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
leftSidebar: [
'intro',
'contact',
'feedback',
{ // we define the category folders here so we do not need to add _category_.json files to each directory
type: 'category',
label: 'JoCo Study Basics',
"link": {
"type": "generated-index",
"description": "If you are new to the JoCo data this is the place to start to learn more about the data that is available."
},
items: [
{
type: 'autogenerated',
dirName: 'jocoknow-basics', // Generate sidebar slice from docs/tutorials/easy
},
]
},
{ // for the datasets we want one file that lists the descriptions of the datasets and links to the resources since having left menu links is confusing and provide little context or information
// type: 'doc',
// id: 'datasets/dataset-list',
label: 'Datasets',
type: 'category',
"link": {
"type": "generated-index",
"description": "This section contains a list of datasets published to a public repository."
},
items: [
{
type: 'autogenerated',
dirName: 'datasets',
},
]
// items: [
// {
// type: 'doc',
// id: 'datasets/dataset-list',
// },
// ]
},
{
type: 'category',
label: "Data Curation Tools",
"link": {
"type": "generated-index",
"description": "We want to help you manage your data as well as we have, by providing you with the toolset we used to manage this project."
},
items: [
{
type: 'autogenerated',
dirName: 'curation-tools',
},
]
},
],
};
export default sidebars;