@@ -139,11 +139,6 @@ export default defineConfig({
139
139
] ,
140
140
sitemap : {
141
141
hostname : 'https://docs.agoric.com' ,
142
- transformItems : items => {
143
- // include local redirects to preserve SEO
144
- items . push ( Object . keys ( rewrites ) . map ( url => ( { url } ) ) ) ;
145
- return items ;
146
- } ,
147
142
} ,
148
143
plugins : [ ] ,
149
144
/* --- ROUTE REWRITES / REDIRECTS --- */
@@ -181,11 +176,11 @@ export default defineConfig({
181
176
{ text : 'Getting Started' , link : '/guides/getting-started/' } ,
182
177
{
183
178
text : 'Smart Wallet Dapp Architecture' ,
184
- link : '/guides/getting-started/contract-rpc.html ' ,
179
+ link : '/guides/getting-started/contract-rpc' ,
185
180
} ,
186
181
{
187
182
text : 'Deploying Smart Contracts' ,
188
- link : '/guides/getting-started/deploying.html ' ,
183
+ link : '/guides/getting-started/deploying' ,
189
184
} ,
190
185
] ,
191
186
} ,
@@ -196,7 +191,7 @@ export default defineConfig({
196
191
items : [
197
192
{
198
193
text : 'Smart Contract Basics' ,
199
- link : '/guides/zoe/contract-basics.html ' ,
194
+ link : '/guides/zoe/contract-basics' ,
200
195
} ,
201
196
{ text : 'Zoe Overview' , link : '/guides/zoe/' } ,
202
197
] ,
@@ -209,7 +204,7 @@ export default defineConfig({
209
204
{ text : 'Agoric CLI Reference' , link : '/guides/agoric-cli/' } ,
210
205
{
211
206
text : 'Using agd to make queries and transactions' ,
212
- link : '/guides/agoric-cli/agd-query-tx.html ' ,
207
+ link : '/guides/agoric-cli/agd-query-tx' ,
213
208
} ,
214
209
] ,
215
210
} ,
@@ -224,19 +219,19 @@ export default defineConfig({
224
219
} ,
225
220
{
226
221
text : 'Hardened JavaScript' ,
227
- link : '/guides/js-programming/hardened-js.html ' ,
222
+ link : '/guides/js-programming/hardened-js' ,
228
223
} ,
229
224
{
230
225
text : 'Eventual Send with E()' ,
231
- link : '/guides/js-programming/eventual-send.html ' ,
226
+ link : '/guides/js-programming/eventual-send' ,
232
227
} ,
233
228
{
234
229
text : 'Far(), Remotable, and Marshaling' ,
235
- link : '/guides/js-programming/far.html ' ,
230
+ link : '/guides/js-programming/far' ,
236
231
} ,
237
232
{
238
233
text : 'Notifiers and Subscriptions' ,
239
- link : '/guides/js-programming/notifiers.html ' ,
234
+ link : '/guides/js-programming/notifiers' ,
240
235
} ,
241
236
] ,
242
237
} ,
@@ -257,16 +252,16 @@ export default defineConfig({
257
252
{ text : 'ERTP Overview' , link : '/guides/ertp/' } ,
258
253
{
259
254
text : 'Amounts, Values, and Brands' ,
260
- link : '/guides/ertp/amounts.html ' ,
255
+ link : '/guides/ertp/amounts' ,
261
256
} ,
262
- { text : 'AmountMath' , link : '/guides/ertp/amount-math.html ' } ,
257
+ { text : 'AmountMath' , link : '/guides/ertp/amount-math' } ,
263
258
{
264
259
text : 'Issuers and Mints' ,
265
- link : '/guides/ertp/issuers-and-mints.html ' ,
260
+ link : '/guides/ertp/issuers-and-mints' ,
266
261
} ,
267
262
{
268
263
text : 'Purses and Payments' ,
269
- link : '/guides/ertp/purses-and-payments.html ' ,
264
+ link : '/guides/ertp/purses-and-payments' ,
270
265
} ,
271
266
] ,
272
267
} ,
@@ -281,15 +276,15 @@ export default defineConfig({
281
276
} ,
282
277
{
283
278
text : 'Declaring Required Capabilities' ,
284
- link : '/guides/coreeval/permissions.html ' ,
279
+ link : '/guides/coreeval/permissions' ,
285
280
} ,
286
281
{
287
282
text : 'Code the Proposal' ,
288
- link : '/guides/coreeval/proposal.html ' ,
283
+ link : '/guides/coreeval/proposal' ,
289
284
} ,
290
285
{
291
286
text : 'Deploy a Governance Proposal to a Local Testnet' ,
292
- link : '/guides/coreeval/local-testnet.html ' ,
287
+ link : '/guides/coreeval/local-testnet' ,
293
288
} ,
294
289
] ,
295
290
} ,
@@ -301,72 +296,72 @@ export default defineConfig({
301
296
{ text : 'Example Zoe Contracts' , link : '/guides/zoe/contracts/' } ,
302
297
{
303
298
text : 'Oracle Query Contract' ,
304
- link : '/guides/zoe/contracts/oracle.html ' ,
299
+ link : '/guides/zoe/contracts/oracle' ,
305
300
} ,
306
301
{
307
302
text : 'Vault Contract' ,
308
- link : '/guides/zoe/contracts/vault.html ' ,
303
+ link : '/guides/zoe/contracts/vault' ,
309
304
} ,
310
- { text : 'Loan Contract' , link : '/guides/zoe/contracts/loan.html ' } ,
305
+ { text : 'Loan Contract' , link : '/guides/zoe/contracts/loan' } ,
311
306
{
312
307
text : 'Funded Call Spread Contract' ,
313
- link : '/guides/zoe/contracts/fundedCallSpread.html ' ,
308
+ link : '/guides/zoe/contracts/fundedCallSpread' ,
314
309
} ,
315
310
{
316
311
text : 'Priced Call Spread Contract' ,
317
- link : '/guides/zoe/contracts/pricedCallSpread.html ' ,
312
+ link : '/guides/zoe/contracts/pricedCallSpread' ,
318
313
} ,
319
314
{
320
315
text : 'Covered Call Contract' ,
321
- link : '/guides/zoe/contracts/covered-call.html ' ,
316
+ link : '/guides/zoe/contracts/covered-call' ,
322
317
} ,
323
318
{
324
319
text : 'OTC Desk Contract' ,
325
- link : '/guides/zoe/contracts/otc-desk.html ' ,
320
+ link : '/guides/zoe/contracts/otc-desk' ,
326
321
} ,
327
322
{
328
323
text : 'ConstantProduct AMM Contract' ,
329
- link : '/guides/zoe/contracts/constantProductAMM.html ' ,
324
+ link : '/guides/zoe/contracts/constantProductAMM' ,
330
325
} ,
331
326
{
332
327
text : 'Sell Items Contract' ,
333
- link : '/guides/zoe/contracts/sell-items.html ' ,
328
+ link : '/guides/zoe/contracts/sell-items' ,
334
329
} ,
335
330
{
336
331
text : 'Atomic Swap Contract' ,
337
- link : '/guides/zoe/contracts/atomic-swap.html ' ,
332
+ link : '/guides/zoe/contracts/atomic-swap' ,
338
333
} ,
339
334
{
340
335
text : 'Barter Exchange Contract' ,
341
- link : '/guides/zoe/contracts/barter-exchange.html ' ,
336
+ link : '/guides/zoe/contracts/barter-exchange' ,
342
337
} ,
343
338
{
344
339
text : 'Second-Price Auction Contract' ,
345
- link : '/guides/zoe/contracts/second-price-auction.html ' ,
340
+ link : '/guides/zoe/contracts/second-price-auction' ,
346
341
} ,
347
342
{
348
343
text : 'Simple Exchange Contract' ,
349
- link : '/guides/zoe/contracts/simple-exchange.html ' ,
344
+ link : '/guides/zoe/contracts/simple-exchange' ,
350
345
} ,
351
346
{
352
347
text : 'Escrow To Vote Contract' ,
353
- link : '/guides/zoe/contracts/escrow-to-vote.html ' ,
348
+ link : '/guides/zoe/contracts/escrow-to-vote' ,
354
349
} ,
355
350
{
356
351
text : 'Mint Payments Contract' ,
357
- link : '/guides/zoe/contracts/mint-payments.html ' ,
352
+ link : '/guides/zoe/contracts/mint-payments' ,
358
353
} ,
359
354
{
360
355
text : 'Mint and Sell NFTs Contract' ,
361
- link : '/guides/zoe/contracts/mint-and-sell-nfts.html ' ,
356
+ link : '/guides/zoe/contracts/mint-and-sell-nfts' ,
362
357
} ,
363
358
{
364
359
text : 'Use Object Contract' ,
365
- link : '/guides/zoe/contracts/use-obj-example.html ' ,
360
+ link : '/guides/zoe/contracts/use-obj-example' ,
366
361
} ,
367
362
{
368
363
text : 'Automatic Refund Contract' ,
369
- link : '/guides/zoe/contracts/automatic-refund.html ' ,
364
+ link : '/guides/zoe/contracts/automatic-refund' ,
370
365
} ,
371
366
] ,
372
367
} ,
@@ -381,7 +376,7 @@ export default defineConfig({
381
376
} ,
382
377
{
383
378
text : 'PSM Contract' ,
384
- link : '/guides/zoe/actual-contracts/PSM.html ' ,
379
+ link : '/guides/zoe/actual-contracts/PSM' ,
385
380
} ,
386
381
] ,
387
382
} ,
@@ -393,19 +388,19 @@ export default defineConfig({
393
388
{ text : 'Agoric Dapps' , link : '/guides/dapps/' } ,
394
389
{
395
390
text : 'Dapp Templates' ,
396
- link : '/guides/dapps/dapp-templates.html ' ,
391
+ link : '/guides/dapps/dapp-templates' ,
397
392
} ,
398
393
{
399
394
text : 'Starting Multiuser Dapps' ,
400
- link : '/guides/dapps/starting-multiuser-dapps.html ' ,
395
+ link : '/guides/dapps/starting-multiuser-dapps' ,
401
396
} ,
402
397
{
403
398
text : 'Deploying Smart Contracts' ,
404
- link : '/guides/getting-started/deploying.html ' ,
399
+ link : '/guides/getting-started/deploying' ,
405
400
} ,
406
401
{
407
402
text : 'Smart Wallet Dapp Architecture' ,
408
- link : '/guides/getting-started/contract-rpc.html ' ,
403
+ link : '/guides/getting-started/contract-rpc' ,
409
404
} ,
410
405
] ,
411
406
} ,
@@ -417,21 +412,21 @@ export default defineConfig({
417
412
} ,
418
413
{
419
414
text : 'Chainlink Integration' ,
420
- link : '/guides/chainlink-integration.html ' ,
415
+ link : '/guides/chainlink-integration' ,
421
416
collapsed : true ,
422
417
items : [ ] ,
423
418
} ,
424
419
{
425
420
text : 'SubQuery Indexing' ,
426
- link : '/guides/subquery-indexing.html ' ,
421
+ link : '/guides/subquery-indexing' ,
427
422
collapsed : true ,
428
423
items : [ ] ,
429
424
} ,
430
425
] ,
431
426
'/reference/' : [
432
427
{
433
428
text : 'Wallet API' ,
434
- link : '/reference/wallet-api.html ' ,
429
+ link : '/reference/wallet-api' ,
435
430
collapsed : true ,
436
431
items : [ ] ,
437
432
} ,
@@ -441,21 +436,21 @@ export default defineConfig({
441
436
collapsed : true ,
442
437
items : [
443
438
{ text : 'ERTP API' , link : '/reference/ertp-api/' } ,
444
- { text : 'Issuer Object' , link : '/reference/ertp-api/issuer.html ' } ,
445
- { text : 'Mint Object' , link : '/reference/ertp-api/mint.html ' } ,
446
- { text : 'Brand Object' , link : '/reference/ertp-api/brand.html ' } ,
447
- { text : 'Purse Object' , link : '/reference/ertp-api/purse.html ' } ,
439
+ { text : 'Issuer Object' , link : '/reference/ertp-api/issuer' } ,
440
+ { text : 'Mint Object' , link : '/reference/ertp-api/mint' } ,
441
+ { text : 'Brand Object' , link : '/reference/ertp-api/brand' } ,
442
+ { text : 'Purse Object' , link : '/reference/ertp-api/purse' } ,
448
443
{
449
444
text : 'Payment Object' ,
450
- link : '/reference/ertp-api/payment.html ' ,
445
+ link : '/reference/ertp-api/payment' ,
451
446
} ,
452
447
{
453
448
text : 'AmountMath Object' ,
454
- link : '/reference/ertp-api/amount-math.html ' ,
449
+ link : '/reference/ertp-api/amount-math' ,
455
450
} ,
456
451
{
457
452
text : 'ERTP Data Types' ,
458
- link : '/reference/ertp-api/ertp-data-types.html ' ,
453
+ link : '/reference/ertp-api/ertp-data-types' ,
459
454
} ,
460
455
] ,
461
456
} ,
@@ -467,15 +462,15 @@ export default defineConfig({
467
462
{ text : 'Agoric REPL' , link : '/reference/repl/' } ,
468
463
{
469
464
text : 'Timer Services' ,
470
- link : '/reference/repl/timerServices.html ' ,
465
+ link : '/reference/repl/timerServices' ,
471
466
} ,
472
- { text : 'The Agoric Board' , link : '/reference/repl/board.html ' } ,
473
- { text : 'Network API' , link : '/reference/repl/networking.html ' } ,
467
+ { text : 'The Agoric Board' , link : '/reference/repl/board' } ,
468
+ { text : 'Network API' , link : '/reference/repl/networking' } ,
474
469
{
475
470
text : 'Price Authority' ,
476
- link : '/reference/repl/priceAuthority.html ' ,
471
+ link : '/reference/repl/priceAuthority' ,
477
472
} ,
478
- { text : 'Scratch' , link : '/reference/repl/scratch.html ' } ,
473
+ { text : 'Scratch' , link : '/reference/repl/scratch' } ,
479
474
] ,
480
475
} ,
481
476
{
@@ -484,32 +479,32 @@ export default defineConfig({
484
479
collapsed : true ,
485
480
items : [
486
481
{ text : 'Zoe API' , link : '/reference/zoe-api/' } ,
487
- { text : 'Zoe Service' , link : '/reference/zoe-api/zoe.html ' } ,
482
+ { text : 'Zoe Service' , link : '/reference/zoe-api/zoe' } ,
488
483
{
489
484
text : 'UserSeat Object' ,
490
- link : '/reference/zoe-api/user-seat.html ' ,
485
+ link : '/reference/zoe-api/user-seat' ,
491
486
} ,
492
487
{
493
488
text : 'Zoe Contract Facet' ,
494
- link : '/reference/zoe-api/zoe-contract-facet.html ' ,
489
+ link : '/reference/zoe-api/zoe-contract-facet' ,
495
490
} ,
496
- { text : 'ZCFSeat Object' , link : '/reference/zoe-api/zcfseat.html ' } ,
497
- { text : 'ZCFMint Object' , link : '/reference/zoe-api/zcfmint.html ' } ,
491
+ { text : 'ZCFSeat Object' , link : '/reference/zoe-api/zcfseat' } ,
492
+ { text : 'ZCFMint Object' , link : '/reference/zoe-api/zcfmint' } ,
498
493
{
499
494
text : 'PriceAuthority Object' ,
500
- link : '/reference/zoe-api/price-authority.html ' ,
495
+ link : '/reference/zoe-api/price-authority' ,
501
496
} ,
502
497
{
503
498
text : 'ZoeHelper Functions' ,
504
- link : '/reference/zoe-api/zoe-helpers.html ' ,
499
+ link : '/reference/zoe-api/zoe-helpers' ,
505
500
} ,
506
501
{
507
502
text : 'Ratio Math Functions' ,
508
- link : '/reference/zoe-api/ratio-math.html ' ,
503
+ link : '/reference/zoe-api/ratio-math' ,
509
504
} ,
510
505
{
511
506
text : 'Zoe Data Types' ,
512
- link : '/reference/zoe-api/zoe-data-types.html ' ,
507
+ link : '/reference/zoe-api/zoe-data-types' ,
513
508
} ,
514
509
] ,
515
510
} ,
0 commit comments