Skip to content

Commit 8edf7c3

Browse files
authored
chore: replace some redirects to old-docs.ton.org with existing pages (#2178)
1 parent 7951a09 commit 8edf7c3

4 files changed

Lines changed: 40 additions & 23 deletions

File tree

contribute/style-guide.mdx

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: "Documentation style guide"
33
sidebarTitle: "Style guide"
44
---
55

6+
import { Aside } from '/snippets/aside.jsx';
7+
68
This guide covers the basics: how to structure pages, write examples, and keep docs consistent and safe.
79

810
## Write for the reader
@@ -72,17 +74,22 @@ Add a Caution or Warning when a step moves funds, changes fees or withdrawals, e
7274

7375
On long guides with many risky commands, combine a clear page‑level warning at the top (covering risk, scope, rollback where feasible, and environment) with short local notes next to each critical step. Local notes can be brief if they point back to the main warning.
7476

75-
Pattern
77+
Pattern:
7678

77-
> Warning — funds at risk
78-
> Running the next command on mainnet transfers funds irreversibly.
79-
> Safer first (testnet):
80-
>
81-
> ```bash
82-
> jetton transfer --to <ADDR> --amount <AMOUNT> --network testnet
83-
> ```
79+
````
80+
<Aside
81+
type="caution"
82+
title="Funds at risk"
8483
>
85-
> If you must use mainnet: no rollback; on‑chain transfers are final.
84+
Running the next command on mainnet transfers funds irreversibly. Try on the testnet first:
85+
86+
```bash
87+
jetton transfer --to <ADDR> --amount <AMOUNT> --network testnet
88+
```
89+
90+
On-chain fund transfers on testnet and mainnet are irreversible.
91+
</Aside>
92+
````
8693

8794
Default to testnet in task pages. Make destructive flags opt‑in and document mitigations.
8895

docs.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@
13041304
},
13051305
{
13061306
"source": "/v3/documentation/dapps/assets/usdt",
1307-
"destination": "https://old-docs.ton.org/v3/documentation/dapps/assets/usdt",
1307+
"destination": "/standard/tokens/jettons/comparison#stablecoin-contract",
13081308
"permanent": true
13091309
},
13101310
{
@@ -1324,7 +1324,7 @@
13241324
},
13251325
{
13261326
"source": "/v3/documentation/dapps/defi/subscriptions",
1327-
"destination": "https://old-docs.ton.org/v3/documentation/dapps/defi/subscriptions",
1327+
"destination": "/standard/wallets/v4",
13281328
"permanent": true
13291329
},
13301330
{
@@ -2069,7 +2069,7 @@
20692069
},
20702070
{
20712071
"source": "/v3/guidelines/dapps/asset-processing/compressed-nfts",
2072-
"destination": "https://old-docs.ton.org/v3/guidelines/dapps/asset-processing/compressed-nfts",
2072+
"destination": "/standard/tokens/nft/comparison#cnft",
20732073
"permanent": true
20742074
},
20752075
{
@@ -2139,7 +2139,7 @@
21392139
},
21402140
{
21412141
"source": "/v3/guidelines/nodes/running-nodes/staking-with-nominator-pools",
2142-
"destination": "https://old-docs.ton.org/v3/guidelines/nodes/running-nodes/staking-with-nominator-pools",
2142+
"destination": "/ecosystem/staking/nominator-pools",
21432143
"permanent": true
21442144
},
21452145
{
@@ -2404,12 +2404,12 @@
24042404
},
24052405
{
24062406
"source": "/v3/contribute/README",
2407-
"destination": "https://old-docs.ton.org/v3/contribute/README",
2407+
"destination": "/contribute/style-guide",
24082408
"permanent": true
24092409
},
24102410
{
24112411
"source": "/v3/contribute",
2412-
"destination": "https://old-docs.ton.org/v3/contribute",
2412+
"destination": "/contribute/style-guide",
24132413
"permanent": true
24142414
},
24152415
{
@@ -2419,22 +2419,22 @@
24192419
},
24202420
{
24212421
"source": "/v3/contribute/content-standardization",
2422-
"destination": "https://old-docs.ton.org/v3/contribute/content-standardization",
2422+
"destination": "/contribute/style-guide",
24232423
"permanent": true
24242424
},
24252425
{
24262426
"source": "/v3/contribute/typography",
2427-
"destination": "https://old-docs.ton.org/v3/contribute/typography",
2427+
"destination": "/contribute/style-guide",
24282428
"permanent": true
24292429
},
24302430
{
24312431
"source": "/v3/contribute/localization-program/translation-style-guide",
2432-
"destination": "https://old-docs.ton.org/v3/contribute/localization-program/translation-style-guide",
2432+
"destination": "/contribute/style-guide",
24332433
"permanent": true
24342434
},
24352435
{
24362436
"source": "/v3/contribute/maintainers",
2437-
"destination": "https://old-docs.ton.org/v3/contribute/maintainers",
2437+
"destination": "/contribute/style-guide",
24382438
"permanent": true
24392439
},
24402440
{
@@ -3089,7 +3089,7 @@
30893089
},
30903090
{
30913091
"source": "/v3/contribute/participate",
3092-
"destination": "https://old-docs.ton.org/v3/contribute/participate",
3092+
"destination": "/contribute/style-guide",
30933093
"permanent": true
30943094
},
30953095
{

standard/tokens/jettons/comparison.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: "Jetton implementations comparison"
33
sidebarTitle: "Comparison"
44
---
55

6+
import { Aside } from '/snippets/aside.jsx';
7+
68
This article will compare different implementations of the TEP-74 standard and explore the best version for each use case.
79

810
## In short
@@ -35,7 +37,15 @@ For a long time, this version was the most widely adopted in the community. The
3537

3638
With the USDT release on TON, an advanced version of the Jetton contract was developed. This version introduces many new TVM gas assertion techniques, as well as extended functionality. Since USDT is a centralized asset, there are specific requirements and restrictions for its operations. More specifically, there is no _burn_ opcode, which means that formally, the Governance contract is not TEP-compliant, as Jetton burn functionality is part of the standard. Also, the Minter contract includes a _governance_ mechanism that allows users to perform any actions on other Jetton Wallets.
3739

38-
Another noticeable advantage of this implementation is extensive testing. All previous versions didn't test edge cases of config changes that will affect storage / forward fees. This test suite became the foundation for all future Jetton versions.
40+
Another noticeable advantage of this implementation is extensive testing. All previous versions did not test edge cases of config changes that will affect storage or forward fees. This test suite became the foundation for all future Jetton versions.
41+
42+
<Aside
43+
type="caution"
44+
>
45+
On TON, multiple jettons can share the same name — a counterfeit jetton may look identical to the real USDT but have no value. Verify legitimacy by confirming [USDT's jetton master address](https://tonviewer.com/EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs?section=jetton).
46+
47+
See important [recommendations when processing jettons](/payments/jettons#security-considerations).
48+
</Aside>
3949

4050
### Notcoin contract
4151

standard/wallets/v4.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This version retains all the functionality of the previous versions and introduc
1010

1111
Plugins enable developers to implement custom logic that integrates with wallet functionality. When a plugin is installed on a wallet through a signed transaction, it can force wallet to send internal message with predefined opcode (`0xf06c7567`) and any available Toncoin amount to specified addresses. Plugins are separate smart contracts that can implement their own custom logic.
1212

13-
Here you can view [wallet V4 source code](https://github.com/ton-blockchain/wallet-contract).
13+
View the original [wallet V4 source code](https://github.com/ton-blockchain/wallet-contract) or the code of an [example subscription plugin](https://github.com/ton-blockchain/wallet-contract/blob/main/func/simple-subscription-plugin.fc).
1414

1515
## Plugins
1616

@@ -23,7 +23,7 @@ Here you can view [wallet V4 source code](https://github.com/ton-blockchain/wall
2323
<Aside
2424
type="caution"
2525
>
26-
Due to security reasons mentioned above, it is not possible to install plugins using [TonConnect](/ecosystem/ton-connect/overview).
26+
Due to security reasons mentioned above, it is not possible to install plugins using [TON Connect](/ecosystem/ton-connect/overview).
2727
</Aside>
2828

2929
Plugins are essentially other smart contracts on TON that developers are free to implement as they wish. In relation to the wallet, they are simply addresses of smart contracts stored in a dictionary in the wallet's persistent memory. These plugins are allowed to request funds and remove themselves from the "allowed list" by sending internal messages to the wallet.

0 commit comments

Comments
 (0)