-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebars.js
121 lines (115 loc) · 2.78 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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable @typescript-eslint/ban-ts-comment */
const config = require('./docusaurus.config')
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
sidebar: [
{
type: 'doc',
label: 'What is Rarimo?',
id: 'overview',
},
{
type: 'html',
value: `
<div class="menu__splitter"></div>
`
},
{
type: 'html',
value: `
<span class="menu__link menu__link--no-hover">Infrastructure</span>
`
},
{
type: 'category',
label: 'ZK Registry Rollup',
link: { type: 'doc', id: 'zk-registry/overview' },
collapsed: false,
items: [
// 'zk-registry/using-rollup',
// 'zk-registry/contracts',
// 'zk-registry/network-info',
],
},
{
type: 'category',
label: 'ZK Passport',
// TODO:
// - redirect from 'accounts/zk-passport'
// = redirect from 'accounts/smart-contracts-reference',
link: { type: 'doc', id: 'zk-passport/overview' },
collapsed: false,
items: [
// 'zk-passport/use-cases',
// 'zk-passport/biometric-passports-101',
// 'zk-passport/map',
// 'zk-passport/guide-proof-of-citizenship',
// 'zk-passport/api-reference',
'zk-passport/contracts',
],
},
{
type: 'category',
label: 'ZK Reputation',
link: { type: 'doc', id: 'zk-reputation/overview' },
collapsed: false,
items: [
// 'zk-reputation/guide-verifying-reputation',
// 'zk-reputation/contracts',
],
},
{
type: 'html',
value: `
<div class="menu__splitter"></div>
`
},
{
type: 'html',
value: `
<span class="menu__link menu__link--no-hover">Products</span>
`
},
{
type: 'category',
label: 'Freedom Tool',
link: { type: 'doc', id: 'freedom-tool/overview' },
collapsed: true,
items: [
//'freedom-tool/success-stories',
'freedom-tool/smart-contracts-reference',
//'freedom-tool/resources',
],
},
{
'type': 'category',
'label': 'RariMe App',
'link': { type: 'doc', id: 'rarime-app/overview' },
'collapsed': false,
'items': [
//'rarime-app/guide-for-ambassadors',
],
},
{
type: 'html',
value: `
<div class="menu__splitter"></div>
`
},
{
type: 'html',
value: `
<span class="menu__link menu__link--no-hover">Resources</span>
`
},
{
type: 'link',
label: 'Whitepaper',
href: config.customFields.whitepaperUrl,
},
'resources/audits',
'resources/glossary',
]
}
module.exports = sidebars