Skip to content

Commit 7a3fda8

Browse files
authored
Build: Getting Started (#215)
1 parent f6828bc commit 7a3fda8

File tree

62 files changed

+801
-302
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+801
-302
lines changed

docs/.vitepress/config.mts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import VitepressThemeOverride from 'vitepress-plugin-theme-override';
77

88
// https://vitepress.dev/reference/site-config
99
export default defineConfig({
10-
title: "WAX Developer Portal",
11-
description: "WAX Blockchain Documentation - Resources for developers building on WAX",
10+
title: "WAX Blockchain Documentation",
11+
description: "WAX Blockchain Documentation – Your resource hub for developers, creators, and project to build, launch, and learn everything about WAX, NFTs, and the ecosystem.",
1212

1313
rewrites: {
1414
'en/:rest*': ':rest*'
@@ -50,7 +50,7 @@ export default defineConfig({
5050
root: enLocale,
5151
es: esLocale,
5252
cn: cnLocale,
53-
},
53+
} as any,
5454
head: [
5555
[
5656
'meta',
@@ -88,27 +88,30 @@ export default defineConfig({
8888
{
8989
rel: 'alternate',
9090
hreflang: 'es',
91-
href: 'https://developer.wax.io/es',
91+
href: 'https://docs.wax.io/es',
9292
},
9393
],
9494
[
9595
'link',
9696
{
9797
rel: 'alternate',
9898
hreflang: 'zh',
99-
href: 'https://developer.wax.io/cn',
99+
href: 'https://docs.wax.io/cn',
100100
},
101101
],
102102
[
103103
'link',
104104
{
105105
rel: 'alternate',
106-
href: `https://developer.wax.io/docs/public/favicon.ico`,
106+
href: `https://docs.wax.io/docs/public/favicon.ico`,
107107
type: 'image/x-icon',
108108
},
109109
],
110+
110111
['meta', { name: 'referrer', content: 'no-referrer-when-downgrade' }],
111112
['meta', { property: 'og:site', content: 'website' }],
113+
['meta', { property: 'og:image', content: '/assets/images/social.jpg' }],
114+
['meta', { name: 'twitter:image', content: '/assets/images/social.jpg' }],
112115
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
113116
['meta', { name: 'twitter:creator', content: '@wax_io' }],
114117
['meta', { name: 'twitter:widgets:csp', content: 'on' }],

docs/.vitepress/locales/cn/lang.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@ import footer from './components/footer'
55
export default {
66
label: 'Chinese',
77
lang: 'cn-CN',
8-
title: 'WAX Blockchain Documentation',
9-
description: '开发者门户在WAX区块链',
10-
editLink: {
11-
pattern: 'https://github.com/worldwide-asset-exchange/docs/edit/main/docs/:path',
12-
text: 'Improve this page on GitHub'
13-
},
8+
title: 'WAX 区块链文档',
9+
description: 'WAX区块链文档中心——专为开发者、创作者及项目团队打造的资源枢纽,助您构建、启动并全面掌握WAX、NFT及生态系统的核心知识。',
1410
themeConfig: {
1511
nav,
1612
sidebar,
1713
footer: {
1814
navigation: footer
19-
}
15+
}
2016
}
2117
}

docs/.vitepress/locales/en/components/sidebar.ts

Lines changed: 53 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,34 @@ export default [
2929
},
3030
],
3131
},
32+
{
33+
text: 'Getting Started',
34+
link: '/learn/getting-started/',
35+
collapsed: true,
36+
items: [
37+
{text: 'Wallets', link: '/learn/getting-started/wallets'},
38+
{
39+
text: 'My Cloud Wallet',
40+
link: '/learn/getting-started/mycloudwallet/',
41+
collapsed: true,
42+
items: [
43+
{text: 'Claim Account', link: '/learn/getting-started/mycloudwallet/claim-account'},
44+
{text: 'Relink Account', link: '/learn/getting-started/mycloudwallet/relink-account'},
45+
],
46+
47+
},
48+
],
49+
},
3250
],
3351
},
3452
{
3553
text: 'Build',
3654
items: [
55+
{
56+
text: 'Core Concepts',
57+
link: '/build/core-concepts/',
58+
collapsed: true,
59+
},
3760
{
3861
text: 'dApp Development',
3962
link: '/build/dapp-development/',
@@ -107,12 +130,12 @@ export default [
107130
],
108131
},
109132
{
110-
text: 'MyCloudWallet',
133+
text: 'My Cloud Wallet',
111134
link: '/build/cloud-wallet/',
112135
collapsed: true,
113136
items: [
114137
{
115-
text: 'wax.js',
138+
text: 'waxjs',
116139
link: '/build/cloud-wallet/waxjs/',
117140
collapsed: true,
118141
items: [
@@ -296,6 +319,34 @@ export default [
296319
},
297320
],
298321
},
322+
{
323+
text: 'Create',
324+
items: [
325+
{
326+
text: 'WAX Labs',
327+
link: '/create/wax-labs/',
328+
collapsed: true,
329+
items: [
330+
{text: 'How to Submit a Proposal', link: '/create/wax-labs/how-to-submit'},
331+
],
332+
},
333+
{
334+
text: 'Community',
335+
link: '/create/community',
336+
collapsed: true,
337+
},
338+
{
339+
text: 'Awesome WAX',
340+
link: '/create/awesome-wax',
341+
collapsed: true,
342+
},
343+
{
344+
text: 'Documentation',
345+
link: '/create/docs',
346+
collapsed: true,
347+
},
348+
],
349+
},
299350
{
300351
text: 'Operate',
301352
items: [
@@ -370,32 +421,4 @@ export default [
370421
},
371422
],
372423
},
373-
{
374-
text: 'Create',
375-
items: [
376-
{
377-
text: 'WAX Labs',
378-
link: '/create/wax-labs',
379-
collapsed: true,
380-
items: [
381-
{text: 'How to Submit a Proposal', link: '/create/wax-labs/how-to-submit'},
382-
],
383-
},
384-
{
385-
text: 'Community',
386-
link: '/create/community',
387-
collapsed: true,
388-
},
389-
{
390-
text: 'Awesome WAX',
391-
link: '/create/awesome-wax',
392-
collapsed: true,
393-
},
394-
{
395-
text: 'Documentation',
396-
link: '/create/docs',
397-
collapsed: true,
398-
},
399-
],
400-
},
401424
];

docs/.vitepress/locales/en/lang.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export default {
1212
sidebar,
1313
footer: {
1414
navigation: footer
15-
}
15+
}
1616
}
1717
}

docs/.vitepress/locales/es/components/sidebar.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@ export default [
111111
],
112112
},
113113
{
114-
text: 'MyCloudWallet',
114+
text: 'My Cloud Wallet',
115115
link: '/es/build/cloud-wallet/',
116116
collapsed: true,
117117
sidebarDepth: 1,
118118
items: [
119119
{
120-
text: 'wax.js',
120+
text: 'waxjs',
121121
link: '/es/build/cloud-wallet/waxjs/',
122122
collapsed: true,
123123
sidebarDepth: 1,
@@ -278,6 +278,22 @@ export default [
278278
},
279279
],
280280
},
281+
{
282+
text: 'Crear',
283+
link: '/es/create/',
284+
collapsed: false,
285+
sidebarDepth: 1,
286+
items: [
287+
{
288+
text: 'Awesome WAX',
289+
link: '/es/create/awesome-wax/',
290+
},
291+
{
292+
text: 'Ayúdanos a mejorar la documentación',
293+
link: '/es/create/docs/',
294+
},
295+
],
296+
},
281297
{
282298
text: 'Operar',
283299
collapsed: false,
@@ -351,20 +367,4 @@ export default [
351367
},
352368
],
353369
},
354-
{
355-
text: 'Crear',
356-
link: '/es/create/',
357-
collapsed: false,
358-
sidebarDepth: 1,
359-
items: [
360-
{
361-
text: 'Awesome WAX',
362-
link: '/es/create/awesome-wax/',
363-
},
364-
{
365-
text: 'Ayúdanos a mejorar la documentación',
366-
link: '/es/create/docs/',
367-
},
368-
],
369-
},
370370
];

docs/.vitepress/locales/es/lang.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import footer from './components/footer'
55
export default {
66
label: 'Spanish',
77
lang: 'es-ES',
8-
title: 'WAX Blockchain Documentation',
9-
description: 'Portal para desarrolladores en WAX Blockchain',
8+
title: 'Documentación de la WAX Blockchain',
9+
description: 'Documentación de WAX Blockchain: tu centro de recursos para desarrolladores, creadores y proyectos para crear, lanzar y aprender todo sobre WAX, NFT y el ecosistema.',
1010
themeConfig: {
1111
nav,
1212
sidebar,
1313
footer: {
1414
navigation: footer
15-
}
15+
}
1616
}
1717
}

docs/cn/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: WAX区块链文档
44
permalink: /cn
55
hero:
66
name: WAX区块链文档
7-
tagline: WAX区块链开发门户
7+
tagline: 开发者与创作者的枢纽,助力构建、发布并全面掌握WAX、NFT及生态系统的核心知识。
88
image: {
99
src: /assets/images/front-cube.png,
1010
alt: WAX区块链文档
@@ -25,9 +25,9 @@ hero:
2525

2626
features:
2727
- title: Our Mission
28-
details: Empowering developers like you to build innovative applications, NFT marketplaces, decentralized finance (DeFi) tools, and community-driven experiences on the WAX blockchain.
28+
details: Guiding developers and creators to build innovative dApps, NFT collections, GameFi projects, and DeFi solutions on the carbon-neutral WAX Blockchain.
2929
- title: Resources
30-
details: From detailed documentation and tutorials to practical examples and best practices, we've got you covered.
30+
details: Comprehensive guides, code examples, and best practices tailored for both technical developers and creative professionals entering the WAX ecosystem.
3131
- title: Explore
32-
details: Explore the fundamental concepts of the WAX blockchain, learn about its consensus mechanism, understand the role of the WAXP token, and discover how to leverage WAX's governance and interoperability features.
32+
details: Navigate WAX's powerful infrastructure, learn its unique consensus model, tokenomics, and creator-friendly tools designed to bring your Web3 vision to life.
3333
---

docs/en/build/api-reference/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: WAX API Reference
33
description: API documentation for WAX Blockchain
44
---
55

6-
# {{ $frontmatter.title }}
6+
# WAX API Reference
77

88
Here you'll find comprehensive documentation for WAX Blockchain APIs
99

docs/en/build/cloud-wallet/sdks/unity/sdk.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@ This endpoint must follow the following guidelines:
149149
- The endpoint must be a POST request.
150150
- The endpoint must return a string with the single-use token.
151151

152-
For more information about the SUT endpoint, please check the [Single-Use Token Generation](https://developer.wax.io/) documentation.
153-
154152
> ⚠️ **Important**: If your endpoint is not following the guidelines, the plugin will not work correctly.
155153
156154
### Singleton Pattern

docs/en/build/cloud-wallet/waxjs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: WaxJS Overview
33
---
44

5-
# wax.js
5+
# WaxJS
66

77
**WaxJS** is a Javascript library that connects to My Cloud Wallet to sign in users and execute smart contract transactions, without requiring an external wallet (e.g., Scatter). Similar to the standard OAuth 2.0 flow, users simply allow your dApp to access their WAX Blockchain Account name. Once your dApp's been authorized, users can approve your smart contract transactions from their My Cloud Wallet Account.
88

0 commit comments

Comments
 (0)