This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ts
188 lines (186 loc) · 4.95 KB
/
config.ts
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
import Config from './src/interfaces/Config';
const config: Config = {
siteTitle: 'Topos Developer Portal',
twitterName: '@topo_protocol',
title: 'Developer Portal',
rootUrl: 'https://docs.topos.technology/', // used only for the social card atm, required (update when using other environment)
protectedRoutePrefix: '/protected', // slash at the beginning, but not at the end. Also the page file name has to match.
includeFolder: ['features-test', 'content', 'legal'],
indexPath: 'content', // could be content/module-1/introduction.html for example or any path to a html page
includeProtectedFolder: [],
protectedPagesPath: '',
protectedLayoutsPath: '',
pageTransitionDuration: 0.2,
enableH3Toc: true,
headerOffset: 100,
docSearch: {
appId: 'S36OISFKTX',
apiKey: 'fc77ad501873a0a81b4c39e02a4aaaac',
indexName: 'crawler_Toposware docs platform (new)',
placeholder: 'Search documentation',
},
googleSiteVerification: 'ewK_x9p9N-cr_rA0dKgdo6YGqZGgnRcBVn2bZeaZQ_o',
navigation: [
{
label: 'What is Topos?',
content: [
{
label: 'Getting Started',
path: '/',
},
{
label: 'Chapter overview: What is Topos?',
path: '/content/module-1',
},
{
label: 'Introduction',
path: '/content/module-1/1-introduction.html',
},
{
label: 'Why Topos?',
path: '/content/module-1/2-why-topos.html',
},
{
label: 'Use cases',
path: '/content/module-1/3-use-cases.html',
},
{
label: 'Topos protocol',
path: '/content/module-1/4-protocol.html',
},
{
label: 'Cross-subnet messages',
path: '/content/module-1/5-cross-subnet.html',
},
{
label: 'Messaging protocol',
path: '/content/module-1/6-messaging-protocol.html',
},
],
},
{
label: 'First steps with Topos',
content: [
{
label: 'Chapter overview: First steps with Topos',
path: '/content/module-2',
},
{
label: 'ERC20 Messaging',
path: '/content/module-2/1-ERC20-Messaging.html',
},
{
label: 'Topos Explorer',
path: '/content/module-2/2-explorer.html',
},
{
label: 'Topos Playground',
path: '/content/module-2/3-topos-playground.html',
},
{
label: 'Topos zkEVM Demo',
path: '/content/module-2/4-topos-zkevm-demo.html',
},
{
label: 'Topos CLI',
path: '/content/module-2/5-cli.html',
},
{
label: 'Topos Testnet',
path: '/content/module-2/6-testnet.html',
},
],
},
{
label: 'Next steps',
content: [
{
label: 'Chapter Overview: Next steps',
path: '/content/module-3',
},
{
label: 'Create Your Messaging Protocol',
path: '/content/module-3/1-create-your-messaging-protocol.html',
},
],
},
{
label: 'Guides and How Tos',
content: [
{
label: 'Add Topos and Incal to Metamask',
path: '/content/how-to/add-topos-and-incal-to-metamask.html'
},
{
label: 'Use the Faucet to Get Testnet Tokens',
path: '/content/how-to/use-the-faucet.html'
},
{
label: 'Deploy a Contract to a Topos Subnet',
path: '/content/how-to/deploy-a-contract-to-topos.html'
}
]
},
{
label: 'Topos Reference',
content: [
{
label: 'FAQ',
path: '/content/topos-reference/faq.html',
},
{
label: 'Weak Causal Probabilistic Reliable Broadcast',
path: '/content/topos-reference/wcprb.html',
},
{
label: 'Glossary',
path: '/content/glossary.html',
},
],
},
{
label: 'Network',
content: [
{
label: 'Faucet',
path: 'https://faucet.testnet-1.topos.technology/',
},
{
label: 'Topos Blockscout',
path: 'https://topos.blockscout.testnet-1.topos.technology/',
},
{
label: 'Incal Blockscout',
path: 'https://incal.blockscout.testnet-1.topos.technology/',
},
{
label: 'Explorer',
path: 'https://explorer.testnet-1.topos.technology/',
},
{
label: 'Important Addresses',
path: '/content/topos-reference/network.html',
},
],
},
{
label: 'Legal',
content: [
{
label: 'Privacy policy',
path: '/legal/privacy-policy.html',
},
],
},
],
footerLinks: [
{
label: 'Privacy Policy',
path: '/legal/privacy-policy.html',
},
],
storage: {
cookieConsentKey: 'cookieConsent',
},
};
export default config;