forked from ton-community/ton-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathredirects.js
More file actions
87 lines (85 loc) · 2.71 KB
/
redirects.js
File metadata and controls
87 lines (85 loc) · 2.71 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
const fs = require("node:fs");
const v3Redirects = JSON.parse(fs.readFileSync(require.resolve('./redirects/redirects.json'), 'utf8'));
/**
* @type {Array<{from: string, to: string}>}
*/
module.exports = [
// CamelCase to kebab-case
{
to: '/v3/documentation/tvm/exit-codes',
from: '/learn/tvm-instructions/tvm_exit_codes',
},
{
to: '/v3/documentation/tvm/overview',
from: '/learn/tvm-instructions/tvm_overview',
},
{
to: '/v3/documentation/network/protocols/adnl/low-level',
from: '/learn/overviews/adnl',
},
{
to: '/v3/guidelines/dapps/tutorials/telegram-bot-examples/accept-payments-in-a-telegram-bot',
from: '/develop/dapps/payment-processing/accept-payments-in-a-telegram-bot',
},
{
to: '/v3/guidelines/dapps/tutorials/telegram-bot-examples/accept-payments-in-a-telegram-bot-2',
from: '/develop/dapps/payment-processing/accept-payments-in-a-telegram-bot-2',
},
{
to: '/v3/guidelines/get-started-with-ton',
from: '/develop/onboarding-challenge',
},
{
to: '/v3/documentation/introduction',
from: '/develop/getting-started',
},
{
to: '/v3/documentation/data-formats/tlb/overview',
from: '/v3/documentation/data-formats/tl-b',
},
{
to: '/v3/documentation/tvm/changelog/tvm-upgrade-2023-07',
from: '/learn/tvm-instructions/tvm-upgrade',
},
{
to: '/v3/guidelines/smart-contracts/testing/overview',
from: '/v3/guidelines/smart-contracts/testing/tonstarter',
},
{
to: '/v3/guidelines/ton-connect/overview',
from: '/v3/guidelines/ton-connect/how-ton-connect-works',
},
{
to: '/v3/guidelines/ton-connect/overview',
from: '/v3/guidelines/ton-connect/guidelines/how-ton-connect-works',
},
{
to: '/v3/guidelines/dapps/apis-sdks/api-types',
from:'/v3/guidelines/dapps/apis-sdks/ton-http-apis',
},
{
to: '/v3/concepts/dive-into-ton/ton-ecosystem/blockchain-tech',
from: '/v3/concepts/dive-into-ton/go-from-ethereum/blockchain-services',
},
{
to: '/v3/concepts/dive-into-ton/go-from-ethereum/blockchain-comparison',
from: '/v3/concepts/dive-into-ton/ton-blockchain/blockchain-comparison',
},
{
to: '/v3/concepts/dive-into-ton/ton-blockchain/overview',
from: '/v3/concepts/dive-into-ton/ton-blockchain/blockchain-of-blockchains',
},
{
to: '/v3/concepts/dive-into-ton/ton-blockchain/addresses',
from: '/v3/concepts/dive-into-ton/ton-blockchain/smart-contract-addresses',
},
{
to: '/v3/concepts/dive-into-ton/ton-blockchain/cells',
from: '/v3/concepts/dive-into-ton/ton-blockchain/cells-as-data-storage',
},
{
to: '/v3/concepts/dive-into-ton/ton-blockchain/network',
from: '/v3/concepts/dive-into-ton/ton-blockchain/ton-networking',
},
...v3Redirects,
];