-
Notifications
You must be signed in to change notification settings - Fork 39
/
redirects.js
203 lines (201 loc) · 5.74 KB
/
redirects.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
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
const redirects = {
redirects: [
{
from: '/nethermind/ethereum-client/configuration',
to: '/fundamentals/configuration'
},
{
from: '/nethermind/ethereum-client/configuration/aura',
to: '/fundamentals/configuration#aura'
},
{
from: '/nethermind/ethereum-client/configuration/blocks',
to: '/fundamentals/configuration#blocks'
},
{
from: '/nethermind/ethereum-client/configuration/bloom',
to: '/fundamentals/configuration#bloom'
},
{
from: '/nethermind/ethereum-client/configuration/ethstats',
to: '/fundamentals/configuration#ethstats'
},
{
from: '/nethermind/ethereum-client/configuration/healthchecks',
to: '/fundamentals/configuration#healthchecks'
},
{
from: '/nethermind/ethereum-client/configuration/hive',
to: '/fundamentals/configuration#hive'
},
{
from: '/nethermind/ethereum-client/configuration/init',
to: '/fundamentals/configuration#init'
},
{
from: '/nethermind/ethereum-client/configuration/jsonrpc',
to: '/fundamentals/configuration#jsonrpc'
},
{
from: '/nethermind/ethereum-client/configuration/keystore',
to: '/fundamentals/configuration#keystore'
},
{
from: '/nethermind/ethereum-client/configuration/merge',
to: '/fundamentals/configuration#merge'
},
{
from: '/nethermind/ethereum-client/configuration/metrics',
to: '/fundamentals/configuration#metrics'
},
{
from: '/nethermind/ethereum-client/configuration/mining',
to: '/fundamentals/configuration#mining'
},
{
from: '/nethermind/ethereum-client/configuration/network',
to: '/fundamentals/configuration#network'
},
{
from: '/nethermind/ethereum-client/configuration/pruning',
to: '/fundamentals/configuration#pruning'
},
{
from: '/nethermind/ethereum-client/configuration/receipt',
to: '/fundamentals/configuration#receipt'
},
{
from: '/nethermind/ethereum-client/configuration/seq',
to: '/fundamentals/configuration#seq'
},
{
from: '/nethermind/ethereum-client/configuration/sync',
to: '/fundamentals/configuration#sync'
},
{
from: '/nethermind/ethereum-client/configuration/txpool',
to: '/fundamentals/configuration#txpool'
},
{
from: '/nethermind/ethereum-client/configuration/wallet',
to: '/fundamentals/configuration#wallet'
},
{
from: '/nethermind/ethereum-client/database',
to: '/fundamentals/database'
},
{
from: '/nethermind/ethereum-client/json-rpc',
to: '/interacting/json-rpc-server'
},
{
from: '/nethermind/ethereum-client/json-rpc/subscribe',
to: '/interacting/json-rpc-ns/eth'
},
{
from: '/nethermind/ethereum-client/logging-configuration',
to: '/fundamentals/logs'
},
{
from: '/nethermind/ethereum-client/metrics',
to: '/monitoring/metrics'
},
{
from: '/nethermind/ethereum-client/metrics/blockchain',
to: '/monitoring/metrics#blockchain'
},
{
from: '/nethermind/ethereum-client/metrics/consensus.aura',
to: '/monitoring/metrics#aura'
},
{
from: '/nethermind/ethereum-client/metrics/evm',
to: '/monitoring/metrics#evm'
},
{
from: '/nethermind/ethereum-client/metrics/jsonrpc',
to: '/monitoring/metrics#jsonrpc'
},
{
from: '/nethermind/ethereum-client/metrics/merge.plugin',
to: '/monitoring/metrics#merge'
},
{
from: '/nethermind/ethereum-client/metrics/network',
to: '/monitoring/metrics#network'
},
{
from: '/nethermind/ethereum-client/metrics/trie.pruning',
to: '/monitoring/metrics#pruning'
},
{
from: '/nethermind/ethereum-client/metrics/runner',
to: '/monitoring/metrics#runner'
},
{
from: '/nethermind/ethereum-client/metrics/store',
to: '/monitoring/metrics#db'
},
{
from: '/nethermind/ethereum-client/metrics/trie',
to: '/monitoring/metrics#trie'
},
{
from: '/nethermind/ethereum-client/metrics/txpool',
to: '/monitoring/metrics#txpool'
},
{
from: '/nethermind/ethereum-client/monitoring-node-health',
to: '/monitoring/health-check'
},
{
from: '/nethermind/ethereum-client/networks',
to: '/get-started/installing-nethermind#supported-networks'
},
{
from: '/nethermind/ethereum-client/sync-modes',
to: '/fundamentals/sync'
},
{
from: '/nethermind/first-steps-with-nethermind/running-nethermind-post-merge',
to: '/get-started/running-node/consensus-clients'
},
{
from: '/nethermind/first-steps-with-nethermind/system-requirements',
to: '/get-started/system-requirements'
},
// {
// from: '/nethermind/guides-and-helpers/faq',
// to: '/faq'
// },
{
from: '/nethermind/guides-and-helpers/validator-setup/aura-validator',
to: '/validators/aura'
},
{
from: '/nethermind/guides-and-helpers/validator-setup/eth2-validator',
to: '/validators'
},
{
from: '/nethermind/guides-and-helpers/how-to-reduce-database-size',
to: '/fundamentals/database#reducing-database-size'
},
{
from: '/nethermind/guides-and-helpers/how-to-reduce-database-size/full-pruning',
to: '/fundamentals/pruning'
},
{
from: '/nethermind/guides-and-helpers/known-issues',
to: '/troubleshooting'
}
],
createRedirects: existingPath => {
if (existingPath.includes('/interacting/json-rpc-ns')) {
return [
existingPath.replace('/interacting/json-rpc-ns/', '/nethermind/ethereum-client/json-rpc/'),
];
}
return null;
}
};
export default redirects;