Repository navigation
Expand file tree
/
Copy pathsidebars.js
More file actions
102 lines (97 loc) · 3.14 KB
/
Copy pathsidebars.js
File metadata and controls
102 lines (97 loc) · 3.14 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/**
* 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 = {
// One sidebar per navbar section; the sidebar is a "within this section"
// nav, not a second copy of the site menu. Docs that aren't listed in any
// sidebar (landing, get_started, prizes, open problems, faq, press, jobs,
// villa_model, livestream) render standalone with no left sidebar.
// Retired pages stay reachable inside the section they belong to, in a
// collapsed archive group, because journals and Discord still link them.
// A navbar item opens a section via `type: 'docSidebar'` (or, for the
// Tutorials dropdown, src/theme/NavbarItem/DropdownNavbarItem), which also
// keeps the item highlighted on every page of its sidebar.
tutorialsSidebar: [
{
type: 'category',
label: 'Tutorials & In-depth',
collapsible: false,
items: [
{ type: 'doc', id: 'tutorial_VC3D' },
{ type: 'doc', id: 'tutorial_spiral' },
{ type: 'doc', id: 'winding_annotations' },
{ type: 'doc', id: 'tutorial5' },
{
type: 'link',
label: 'Scroll Anatomy',
href: 'https://github.com/ScrollPrize/villa/blob/main/SCROLL_ANATOMY.md',
},
],
},
{
type: 'category',
label: 'Older tutorials',
collapsible: true,
collapsed: true,
items: [
{ type: 'doc', id: 'tutorial' },
{ type: 'doc', id: 'tutorial1' },
{ type: 'doc', id: 'tutorial2' },
{ type: 'doc', id: 'tutorial3' },
{ type: 'doc', id: 'segmentation' },
{ type: 'doc', id: 'unwrapping' },
{ type: 'doc', id: 'tutorial_VC' },
],
},
],
dataSidebar: [
{
type: 'category',
label: 'Data',
collapsible: false,
items: [
{ type: 'doc', id: 'data_browser' },
{ type: 'doc', id: 'data' },
{ type: 'doc', id: 'data_datasets' },
],
},
],
milestonesSidebar: [
{
type: 'category',
label: 'Milestones & Results',
collapsible: false,
items: [
{ type: 'doc', id: 'winners', label: 'Prize Winners' },
{ type: 'doc', id: 'firstscroll' },
{ type: 'doc', id: 'grandprize' },
{ type: 'doc', id: 'firstletters' },
{ type: 'doc', id: 'community_projects' },
],
},
{
type: 'category',
label: 'Past prize rounds',
collapsible: true,
collapsed: true,
items: [
{ type: 'doc', id: '30_2024_gp_submissions' },
{ type: 'doc', id: '28_2024_prizes' },
{ type: 'doc', id: 'submissions_closed' },
{ type: 'doc', id: 'grand_prize' },
{ type: 'doc', id: 'open_source_prizes' },
{ type: 'doc', id: 'private_prizes' },
{ type: 'doc', id: 'ink_detection' },
{ type: 'doc', id: 'master_plan' },
],
},
],
};
module.exports = sidebars;