Skip to content

Commit 70cc79b

Browse files
authored
Merge pull request #91 from latent-to/redirects
page redirects
2 parents 34625f1 + a5e395b commit 70cc79b

File tree

1 file changed

+103
-24
lines changed

1 file changed

+103
-24
lines changed

docusaurus.config.js

Lines changed: 103 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,10 @@ const config = {
7373
"@docusaurus/plugin-client-redirects",
7474
{
7575
redirects: [
76-
{
77-
to: "/btcli",
78-
from: "/reference/btcli",
79-
},
8076
{
8177
to: "/liquidity-positions/",
8278
from: "/liquidity-provider",
8379
},
84-
{
85-
to: "/staking-and-delegation/delegation",
86-
from: "/delegation",
87-
},
8880
{
8981
to: "/staking-and-delegation/staking-polkadot-js",
9082
from: "/staking/staking-polkadot-js",
@@ -95,39 +87,127 @@ const config = {
9587
},
9688
{
9789
from: "/subnets/register-validate-mine",
98-
to: "validators/index",
90+
to: "/validators",
91+
},
92+
{
93+
to: "/keys/schedule-coldkey-swap",
94+
from: "/subnets/schedule-coldkey-swap",
95+
},
96+
{
97+
to: "/sdk/bt-api-ref",
98+
from: "/reference/bittensor-api-ref",
9999
},
100100
{
101-
from: "/recycled-tao",
101+
to: "/errors",
102+
from: "/subtensor-nodes/subtensor-error-messages",
103+
},
104+
{
105+
from: "/glossary",
102106
to: "/resources/glossary",
103107
},
104108
{
105-
to: "/subnets/walkthrough-prompting",
106-
from: "/subnets/code-walkthrough-text-prompting",
109+
from: "/bittensor-rel-notes",
110+
to: "/resources/bittensor-rel-notes",
107111
},
108112
{
109-
to: "/subtensor-nodes",
110-
from: "/getting-started/running-a-public-subtensor",
113+
from: "/questions-and-answers",
114+
to: "/resources/questions-and-answers",
111115
},
112116
{
113-
to: "/",
114-
from: "/subnet-pages",
117+
from: "/emissions",
118+
to: "/learn/emissions",
115119
},
116120
{
117-
to: "/keys/schedule-coldkey-swap",
118-
from: "/schedule-key-swap",
121+
from: "/yuma-consensus",
122+
to: "/learn/yuma-consensus",
119123
},
120124
{
121-
to: "/keys/schedule-coldkey-swap",
122-
from: "/subnets/schedule-key-swap",
125+
from: "/subnets/yc3-blog",
126+
to: "/learn/yc3-blog",
127+
},
128+
{
129+
from: "/fees",
130+
to: "/learn/fees",
131+
},
132+
{
133+
from: "/community-links",
134+
to: "/resources/community-links",
123135
},
124136
{
137+
from: "/subnets/yuma3-migration-guide",
138+
to: "/learn/yuma3-migration-guide",
139+
},
140+
{
141+
from: "/subnets/child-hotkeys",
142+
to: "/validators/child-hotkeys",
143+
},
144+
{
145+
from: "/btcli",
146+
to: "/btcli",
147+
},
148+
{
149+
from: "/btcli-permissions",
150+
to: "/btcli/btcli-permissions",
151+
},
152+
{
153+
from: "/migration_guide",
154+
to: "/sdk/migration-guide",
155+
},
156+
{
157+
from: "/bt-api-ref",
125158
to: "/sdk/bt-api-ref",
126-
from: "/reference/bittensor-api-ref",
127159
},
128160
{
129-
to: "/errors",
130-
from: "/subtensor-nodes/subtensor-error-messages",
161+
from: "/getting-started/wallets",
162+
to: "/keys/wallets",
163+
},
164+
{
165+
from: "/getting-started/coldkey-hotkey-security",
166+
to: "/keys/coldkey-hotkey-security",
167+
},
168+
{
169+
from: "/working-with-keys",
170+
to: "/keys/working-with-keys",
171+
},
172+
{
173+
from: "/tools",
174+
to: "/concepts/tools",
175+
},
176+
{
177+
from: "/bittensor-networks",
178+
to: "/concepts/bittensor-networks",
179+
},
180+
{
181+
from: "/commit-reveal",
182+
to: "/concepts/commit-reveal",
183+
},
184+
{
185+
from: "/consensus-based-weights",
186+
to: "/concepts/consensus-based-weights",
187+
},
188+
{
189+
from: "/bt-logging-levels",
190+
to: "/concepts/bt-logging-levels",
191+
},
192+
{
193+
from: "/utilities",
194+
to: "/resources/utilities",
195+
},
196+
{
197+
from: "/governance",
198+
to: "/governance",
199+
},
200+
{
201+
from: "/senate",
202+
to: "/governance/senate",
203+
},
204+
{
205+
from: "/errors-and-troubleshooting",
206+
to: "/errors/troubleshooting",
207+
},
208+
{
209+
from: "/media-assets",
210+
to: "/resources/media-assets",
131211
},
132212
],
133213
},
@@ -198,7 +278,6 @@ const config = {
198278
},
199279
},
200280
items: [
201-
202281
{
203282
position: "left",
204283
label: "Announcements",

0 commit comments

Comments
 (0)