Skip to content

Commit 6820e2e

Browse files
committed
docs: navigation for a path thru current docs
1 parent ece4b00 commit 6820e2e

File tree

2 files changed

+81
-91
lines changed

2 files changed

+81
-91
lines changed

Diff for: main/.vitepress/config.mjs

+55-54
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,6 @@ export default defineConfig({
118118
{
119119
text: 'Getting Started',
120120
link: '/guides/getting-started/',
121-
collapsed: true,
122-
items: [
123-
{ text: 'Getting Started', link: '/guides/getting-started/' },
124-
{
125-
text: 'Smart Wallet Dapp Architecture',
126-
link: '/guides/getting-started/contract-rpc',
127-
},
128-
],
129121
},
130122
{
131123
text: 'Zoe',
@@ -142,14 +134,23 @@ export default defineConfig({
142134
],
143135
},
144136
{
145-
text: 'Agoric CLI',
146-
link: '/guides/agoric-cli/',
137+
text: 'ERTP',
138+
link: '/guides/ertp/',
147139
collapsed: true,
148140
items: [
149-
{ text: 'Agoric CLI Reference', link: '/guides/agoric-cli/' },
141+
{ text: 'ERTP Overview', link: '/guides/ertp/' },
150142
{
151-
text: 'Using agd to make queries and transactions',
152-
link: '/guides/agoric-cli/agd-query-tx',
143+
text: 'Amounts, Values, and Brands',
144+
link: '/guides/ertp/amounts',
145+
},
146+
{ text: 'AmountMath', link: '/guides/ertp/amount-math' },
147+
{
148+
text: 'Issuers and Mints',
149+
link: '/guides/ertp/issuers-and-mints',
150+
},
151+
{
152+
text: 'Purses and Payments',
153+
link: '/guides/ertp/purses-and-payments',
153154
},
154155
],
155156
},
@@ -181,26 +182,20 @@ export default defineConfig({
181182
],
182183
},
183184
{
184-
text: 'ERTP',
185-
link: '/guides/ertp/',
185+
text: 'Agoric Platform',
186+
link: '/guides/platform/',
186187
collapsed: true,
187-
items: [
188-
{ text: 'ERTP Overview', link: '/guides/ertp/' },
189-
{
190-
text: 'Amounts, Values, and Brands',
191-
link: '/guides/ertp/amounts',
192-
},
193-
{ text: 'AmountMath', link: '/guides/ertp/amount-math' },
194-
{
195-
text: 'Issuers and Mints',
196-
link: '/guides/ertp/issuers-and-mints',
197-
},
198-
{
199-
text: 'Purses and Payments',
200-
link: '/guides/ertp/purses-and-payments',
201-
},
202-
],
188+
items: [],
189+
},
190+
{
191+
text: 'Smart Wallet Dapp Architecture',
192+
link: '/guides/getting-started/contract-rpc',
193+
},
194+
{
195+
text: 'Name Services: agoricNames, namesByAddress, board',
196+
link: '/guides/integration/name-services',
203197
},
198+
204199
{
205200
text: 'Permissioned Contract Deployment',
206201
link: '/guides/coreeval/',
@@ -224,6 +219,21 @@ export default defineConfig({
224219
},
225220
],
226221
},
222+
{
223+
text: 'Deployed Zoe Contracts',
224+
link: '/guides/zoe/actual-contracts/',
225+
collapsed: true,
226+
items: [
227+
{
228+
text: 'Deployed Zoe Contracts',
229+
link: '/guides/zoe/actual-contracts/',
230+
},
231+
{
232+
text: 'PSM Contract',
233+
link: '/guides/zoe/actual-contracts/PSM',
234+
},
235+
],
236+
},
227237
{
228238
text: 'Example Zoe Contracts',
229239
link: '/guides/zoe/contracts/',
@@ -302,29 +312,8 @@ export default defineConfig({
302312
],
303313
},
304314
{
305-
text: 'Deployed Zoe Contracts',
306-
link: '/guides/zoe/actual-contracts/',
307-
collapsed: true,
308-
items: [
309-
{
310-
text: 'Deployed Zoe Contracts',
311-
link: '/guides/zoe/actual-contracts/',
312-
},
313-
{
314-
text: 'PSM Contract',
315-
link: '/guides/zoe/actual-contracts/PSM',
316-
},
317-
],
318-
},
319-
{
320-
text: 'Smart Wallet Dapp Architecture',
321-
link: '/guides/getting-started/contract-rpc',
322-
},
323-
{
324-
text: 'Agoric Platform',
325-
link: '/guides/platform/',
326-
collapsed: true,
327-
items: [],
315+
text: 'Integrating with Agoric Network',
316+
link: '/guides/integration/chain-integration',
328317
},
329318
{
330319
text: 'SubQuery Indexing',
@@ -334,6 +323,18 @@ export default defineConfig({
334323
},
335324
],
336325
'/reference/': [
326+
{
327+
text: 'Agoric CLI',
328+
link: '/guides/agoric-cli/',
329+
collapsed: true,
330+
items: [
331+
{ text: 'Agoric CLI Reference', link: '/guides/agoric-cli/' },
332+
{
333+
text: 'Using agd to make queries and transactions',
334+
link: '/guides/agoric-cli/agd-query-tx',
335+
},
336+
],
337+
},
337338
{
338339
text: 'ERTP API',
339340
link: '/reference/ertp-api/',

Diff for: main/.vitepress/themeConfig/nav.js

+26-37
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,12 @@ export const nav = [
88
{
99
text: 'Getting Started',
1010
ariaLabel: 'Getting Started Menu',
11-
items: [
12-
{
13-
text: 'Your First Agoric Dapp',
14-
ariaLabel: 'Your First Agoric Dapp Menu',
15-
link: '/guides/getting-started/',
16-
},
17-
{
18-
text: 'Smart Wallet Dapp Architecture',
19-
ariaLabel: 'Smart Wallet Dapp Architecture Menu',
20-
link: '/guides/getting-started/contract-rpc',
21-
},
22-
{
23-
text: 'Permissioned Contract Deployment',
24-
ariaLabel: 'Permissioned Contract Deployment',
25-
link: '/guides/coreeval/',
26-
},
27-
],
11+
link: '/guides/getting-started/',
2812
},
2913
{
3014
text: 'Agoric Components',
3115
ariaLabel: 'Agoric Components Menu',
3216
items: [
33-
{
34-
text: 'Agoric CLI',
35-
ariaLabel: 'Agoric CLI',
36-
link: '/guides/agoric-cli/',
37-
},
38-
{
39-
text: 'JavaScript Framework',
40-
ariaLabel: 'JavaScript Framework',
41-
link: '/guides/js-programming/',
42-
},
4317
{
4418
text: 'ERTP',
4519
ariaLabel: 'ERTP',
@@ -50,6 +24,11 @@ export const nav = [
5024
ariaLabel: 'Zoe',
5125
link: '/guides/zoe/',
5226
},
27+
{
28+
text: 'Smart Wallet Dapp Architecture',
29+
ariaLabel: 'Smart Wallet Dapp Architecture Menu',
30+
link: '/guides/getting-started/contract-rpc',
31+
},
5332
{
5433
text: 'Example Zoe Contracts',
5534
ariaLabel: 'Example Zoe Contracts',
@@ -61,16 +40,31 @@ export const nav = [
6140
link: '/guides/zoe/actual-contracts/',
6241
},
6342
{
64-
text: 'Smart Wallet Dapp Architecture',
65-
ariaLabel: 'Smart Wallet Dapp Architecture Menu',
66-
link: '/guides/getting-started/contract-rpc',
43+
text: 'Permissioned Contract Deployment',
44+
ariaLabel: 'Permissioned Contract Deployment',
45+
link: '/guides/coreeval/',
46+
},
47+
{
48+
text: 'JavaScript Framework',
49+
ariaLabel: 'JavaScript Framework',
50+
link: '/guides/js-programming/',
6751
},
6852
],
6953
},
7054
{
71-
text: 'API Reference',
72-
ariaLabel: 'API Reference Menu',
55+
text: 'Reference',
56+
ariaLabel: 'Reference Menu',
7357
items: [
58+
{
59+
text: 'Glossary',
60+
ariaLabel: 'Glossary Menu',
61+
link: '/glossary/',
62+
},
63+
{
64+
text: 'Agoric CLI',
65+
ariaLabel: 'Agoric CLI',
66+
link: '/guides/agoric-cli/',
67+
},
7468
{
7569
text: 'ERTP API',
7670
ariaLabel: 'ERTP API Menu',
@@ -83,11 +77,6 @@ export const nav = [
8377
},
8478
],
8579
},
86-
{
87-
text: 'Glossary',
88-
ariaLabel: 'Glossary Menu',
89-
link: '/glossary/',
90-
},
9180
{
9281
text: 'New Features',
9382
ariaLabel: 'New Features Menu',

0 commit comments

Comments
 (0)