Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 089382b

Browse files
committed
Update Chinese documentation for smart contracts
- Refactored links in the smart contracts documentation to point to the Chinese versions for topics such as testing, structs, and added new sections for debugging and maps. - Removed outdated links and improved the overall structure for better navigation and accessibility. - Enhanced the documentation to support developers working with the Move programming language on the Aptos platform.
1 parent f3b52ca commit 089382b

File tree

1 file changed

+13
-29
lines changed
  • apps/nextra/pages/zh/build/smart-contracts

1 file changed

+13
-29
lines changed

apps/nextra/pages/zh/build/smart-contracts/_meta.tsx

Lines changed: 13 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,47 +5,47 @@ export default {
55
},
66
"why-move": {
77
title: "Why Move?",
8-
href: "/en/build/smart-contracts/book/why-move",
98
},
109
"create-package": {
1110
title: "Create Package",
12-
href: "/en/build/smart-contracts/book/create-package",
1311
},
1412
compiling: {
1513
title: "Compiling",
16-
href: "/en/build/smart-contracts/book/compiling",
1714
},
1815
testing: {
1916
title: "Testing",
20-
href: "/en/build/smart-contracts/book/unit-testing",
17+
href: "/zh/build/smart-contracts/book/unit-testing",
2118
},
2219
deployment: {
2320
title: "Deployment",
24-
href: "/en/build/smart-contracts/book/deployment",
21+
},
22+
debugging: {
23+
title: "Debugging",
2524
},
2625
"---aptos-standards---": {
2726
type: "separator",
2827
title: "Aptos Standards",
2928
},
29+
bcs: {
30+
title: "Binary Canonical Serialization (BCS)",
31+
},
3032
object: {
3133
title: "Object",
32-
href: "/en/build/smart-contracts/book/objects",
3334
},
3435
"digital-asset": {
3536
title: "Digital Asset (DA)",
36-
href: "/en/build/smart-contracts/book/digital-assets",
3737
},
3838
"fungible-asset": {
3939
title: "Fungible Asset (FA)",
40-
href: "/en/build/smart-contracts/book/fungible-assets",
40+
},
41+
"confidential-asset": {
42+
title: "Confidential Asset (CA)",
4143
},
4244
"aptos-coin": {
4345
title: "Coin (legacy)",
44-
href: "/en/build/smart-contracts/book/aptos-coin",
4546
},
4647
"aptos-token": {
4748
title: "Token (legacy)",
48-
href: "/en/build/smart-contracts/book/aptos-token",
4949
},
5050
"---addressable-storage---": {
5151
title: "Addressable Storage",
@@ -57,35 +57,29 @@ export default {
5757
},
5858
table: {
5959
title: "Table",
60-
href: "/en/build/smart-contracts/book/table",
6160
},
6261
objects: {
6362
title: "Objects",
64-
href: "/en/build/smart-contracts/book/objects",
6563
},
6664
"resource-accounts": {
6765
title: "Resource Accounts",
68-
href: "/en/build/smart-contracts/book/resource-accounts",
6966
},
7067
"---data-structures---": {
7168
title: "Data Structures",
7269
type: "separator",
7370
},
7471
struct: {
7572
title: "Struct",
76-
href: "/en/build/smart-contracts/book/structs-and-resources",
73+
href: "/zh/build/smart-contracts/book/structs-and-resources",
7774
},
7875
vector: {
7976
title: "Vector",
80-
href: "/en/build/smart-contracts/book/vectors",
8177
},
8278
"smart-vector": {
8379
title: "Smart Vector",
84-
href: "/en/build/smart-contracts/book/smart-vectors",
8580
},
86-
"smart-table": {
87-
title: "Smart Table",
88-
href: "/en/build/smart-contracts/book/smart-tables",
81+
maps: {
82+
title: "Maps",
8983
},
9084
"---examples---": {
9185
type: "separator",
@@ -98,54 +92,44 @@ export default {
9892
},
9993
reference: {
10094
title: "Move Reference",
101-
href: "/en/build/smart-contracts/book/reference",
10295
theme: {
10396
toc: false,
10497
layout: "full",
10598
},
10699
},
107100
book: {
108101
title: "Move Book",
109-
href: "/en/build/smart-contracts/book",
110102
},
111103
"error-codes": {
112104
title: "Error Codes",
113-
href: "/en/build/smart-contracts/book/error-codes",
114105
},
115106
"---advanced-move---": {
116107
type: "separator",
117108
title: "Advanced Move",
118109
},
119110
scripts: {
120111
title: "Scripts",
121-
href: "/en/build/smart-contracts/book/scripts",
122112
},
123113
prover: {
124114
title: "Move Prover",
125-
href: "/en/build/smart-contracts/book/move-prover",
126115
},
127116
randomness: {
128117
title: "Randomness",
129-
href: "/en/build/smart-contracts/book/randomness",
130118
},
131119
cryptography: {
132120
title: "Cryptography",
133-
href: "/en/build/smart-contracts/book/cryptography",
134121
},
135122
"move-security-guidelines": {
136123
title: "Move Security Guidelines",
137-
href: "/en/build/smart-contracts/book/move-security-guidelines",
138124
},
139125
"gas-profiling": {
140126
title: "Gas Profiling",
141127
href: "/en/build/cli/working-with-move-contracts/local-simulation-benchmarking-and-gas-profiling",
142128
},
143129
compiler_v2: {
144130
title: "Compiler V2",
145-
href: "/en/build/smart-contracts/book/compiler-v2",
146131
},
147132
linter: {
148133
title: "Linter",
149-
href: "/en/build/smart-contracts/book/linter",
150134
},
151135
};

0 commit comments

Comments
 (0)