Skip to content

Commit 05fd3bf

Browse files
authored
Update docs (#187)
* remove sdk-1.0 from sidebar * Update sidebar and remove archived documentation - Added migration documentation for SDK V2 to the sidebar. - Removed references to the Opal testnet from various documents. - Cleaned up outdated tutorials and documentation related to SDK-1.0. * Fix quotes
1 parent 4122f82 commit 05fd3bf

File tree

15 files changed

+341
-913
lines changed

15 files changed

+341
-913
lines changed

docs/.vuepress/configs/sidebar.ts

Lines changed: 46 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SidebarConfig } from '@vuepress/theme-default'
1+
import { SidebarConfig } from '@vuepress/theme-default';
22

33
export const sidebar: Record<string, SidebarConfig> = {
44
en: {
@@ -45,15 +45,13 @@ export const sidebar: Record<string, SidebarConfig> = {
4545
'/about/network-features/staking.md',
4646
'/about/network-features/sdk-indexer',
4747
'/about/network-features/marketplace.md',
48-
]
49-
}
48+
],
49+
},
5050
],
5151
'/build': [
5252
{
5353
text: 'Intro',
54-
children: [
55-
'/build',
56-
]
54+
children: ['/build'],
5755
},
5856
{
5957
text: 'SDK-2.0',
@@ -67,21 +65,21 @@ export const sidebar: Record<string, SidebarConfig> = {
6765
'/build/sdk/v2/evm.md',
6866
'/build/sdk/v2/asset-hub.md',
6967
'/build/sdk/v2/dapps.md',
70-
]
71-
},
72-
{
73-
text: 'SDK-1.0',
74-
children: [
75-
'/build/sdk/getting-started.md',
76-
'/build/sdk/accounts.md',
77-
'/build/sdk/collections.md',
78-
'/build/sdk/tokens.md',
79-
'/build/sdk/examples-nesting.md',
80-
'/build/sdk/refungible.md',
81-
'/build/sdk/sponsoring.md',
82-
'/build/sdk/v2/migration.md'
83-
]
68+
'/build/sdk/v2/migration.md',
69+
],
8470
},
71+
// {
72+
// text: 'SDK-1.0',
73+
// children: [
74+
// '/build/sdk/getting-started.md',
75+
// '/build/sdk/accounts.md',
76+
// '/build/sdk/collections.md',
77+
// '/build/sdk/tokens.md',
78+
// '/build/sdk/examples-nesting.md',
79+
// '/build/sdk/refungible.md',
80+
// '/build/sdk/sponsoring.md',
81+
// ]
82+
// },
8583
{
8684
text: 'EVM',
8785
children: [
@@ -107,49 +105,46 @@ export const sidebar: Record<string, SidebarConfig> = {
107105
children: [
108106
'/build/tech-concepts/addresses',
109107
'/build/tech-concepts/balances/index.md',
110-
]
111-
}
108+
],
109+
},
112110
],
113111
'/tutorials': [
114112
{
115113
text: 'Intro',
116-
children: [
117-
'/tutorials'
118-
]
114+
children: ['/tutorials'],
119115
},
120116
{
121117
text: 'Minting guides',
122118
children: [
123119
'/tutorials/minting/main.md',
124120
'/tutorials/minting/setup-environment.md',
125121
'/tutorials/minting/prepare-scripts.md',
126-
'/tutorials/minting/prepare-account.md',
122+
// remove OPL: '/tutorials/minting/prepare-account.md',
127123
'/tutorials/minting/generative-nft.md',
128124
'/tutorials/minting/mass-minting.md',
129125
'/tutorials/minting/customizable-nfts.md',
130-
'/tutorials/minting/mass-listing.md'
131-
]
132-
},
133-
{
134-
text: 'EVM',
135-
children: [
136-
'/tutorials/evm/eth-general.md',
137-
'/tutorials/evm/using-contracts.md',
138-
'/tutorials/evm/using-sol-interfaces.md',
139-
'/tutorials/evm/ready-samples.md',
140-
// '/tutorials/evm/how-to-ethereum.md', - disassembled
126+
'/tutorials/minting/mass-listing.md',
141127
],
142128
},
129+
// TODO: we need to improve build/EVM section instead of this one:
130+
// {
131+
// text: 'EVM',
132+
// children: [
133+
// '/tutorials/evm/eth-general.md',
134+
// '/tutorials/evm/using-contracts.md',
135+
// '/tutorials/evm/using-sol-interfaces.md',
136+
// '/tutorials/evm/ready-samples.md',
137+
// // '/tutorials/evm/how-to-ethereum.md', - disassembled
138+
// ],
139+
// },
143140
// {
144141
// text: 'REST API',
145142
// children: [
146143
// ]
147144
// },
148145
{
149146
text: 'How to',
150-
children: [
151-
'/tutorials/mass-transactions.md',
152-
]
147+
children: ['/tutorials/mass-transactions.md'],
153148
},
154149
{
155150
text: 'User guides',
@@ -159,31 +154,24 @@ export const sidebar: Record<string, SidebarConfig> = {
159154
link: '/tutorials/user-guides/wallets.md',
160155
children: [
161156
'/tutorials/user-guides/polkadotjs.md',
162-
'/tutorials/user-guides/ledger-connect.md'
163-
]
157+
'/tutorials/user-guides/ledger-connect.md',
158+
],
164159
},
165-
]
160+
],
166161
},
167162
],
168163
'/reference': [
169164
{
170165
text: 'Blockchains',
171-
children: [
172-
'/reference',
173-
]
166+
children: ['/reference'],
174167
},
175168
{
176-
text: "SDK",
177-
children: [
178-
'/reference/sdk-endpoints.md',
179-
'/reference/sdk-methods.md'
180-
]
169+
text: 'SDK',
170+
children: ['/reference/sdk-endpoints.md', '/reference/sdk-methods.md'],
181171
},
182172
{
183173
text: 'EVM',
184-
children: [
185-
'/reference/tools.md'
186-
]
174+
children: ['/reference/tools.md'],
187175
},
188176
{
189177
text: 'Blockchain API',
@@ -195,15 +183,13 @@ export const sidebar: Record<string, SidebarConfig> = {
195183
'/reference/blockchain/rpc.md',
196184
'/reference/blockchain/extrinsics.md',
197185
'/reference/blockchain/events.md',
198-
'/reference/blockchain/contract-helpers.md'
186+
'/reference/blockchain/contract-helpers.md',
199187
],
200188
},
201189
{
202190
text: 'Schemas',
203-
children: [
204-
'/reference/schemas',
205-
]
206-
}
191+
children: ['/reference/schemas'],
192+
},
207193
],
208194
},
209-
}
195+
};

docs/_archive/C_sharp.md

Lines changed: 0 additions & 145 deletions
This file was deleted.

0 commit comments

Comments
 (0)