-
Notifications
You must be signed in to change notification settings - Fork 7
/
vocs.config.tsx
144 lines (143 loc) · 3.09 KB
/
vocs.config.tsx
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
import { defineConfig } from "vocs"
export default defineConfig({
title: "Polkadot-API",
description: "Typescript API to interact with polkadot chains",
topNav: [
{
text: "Guide",
link: "/getting-started",
},
],
sidebar: [
{
text: "Getting Started",
link: "/getting-started",
},
{
text: "Requirements",
link: "/requirements",
},
{
text: "Providers",
items: [
{ text: "Providers", link: "/providers" },
{ text: "WebSocket", link: "/providers/ws" },
{ text: "Smoldot", link: "/providers/sm" },
],
},
{
text: "Codegen",
link: "/codegen",
},
{
text: "Types",
link: "/types",
},
{
text: "Signers",
link: "/signers",
},
{
text: "Recipes",
items: [
{
text: "Prepare for runtime upgrade",
link: "/recipes/upgrade",
},
{
text: "Make a simple transfer",
link: "/recipes/simple-transfer",
},
],
},
{
text: "Top-level client",
items: [
{
text: "PolkadotClient",
link: "/client",
},
{
text: "Typed API",
items: [
{
text: "API",
link: "/typed",
},
{
text: "Constants",
link: "/typed/constants",
},
{
text: "Runtime APIs",
link: "/typed/apis",
},
{
text: "Storage queries",
link: "/typed/queries",
},
{
text: "Events",
link: "/typed/events",
},
{
text: "Transactions",
link: "/typed/tx",
},
],
},
{
text: "Unsafe API",
link: "/unsafe",
},
{
text: "Ink!",
link: "/ink",
},
],
},
{
text: "Chain-specific documentation",
link: "https://chains.papi.how",
},
{
text: "Built with PAPI",
items: [
{
text: "Teleport across chains",
link: "https://github.com/polkadot-api/react-teleport-example",
},
{
text: "Kheopswap. Swap portal for AssetHub",
link: "https://github.com/kheopswap/kheopswap",
},
{
text: "Polkadot Fellowship Dashboard",
link: "https://github.com/polkadot-fellows/dashboard",
},
{
text: "Delegit.xyz",
link: "https://github.com/delegit-xyz/dashboard",
},
{
text: "Substrate Kitties",
link: "https://github.com/shawntabrizi/substratekitties",
},
{
text: "Multix",
link: "https://github.com/ChainSafe/Multix",
},
{
text: "ParaSpell XCM SDK",
link: "https://paraspell.xyz/",
},
],
},
],
socials: [
{
icon: "github",
link: "https://github.com/polkadot-api/polkadot-api",
},
],
})