@@ -353,5 +353,103 @@ export default defineConfig({
353353 socialLinks : [
354354 { icon : 'github' , link : 'https://github.com/aleph-im' }
355355 ]
356- }
357- } )
356+ } ,
357+
358+ rewrites : {
359+ // Community section -> About section
360+ '/community/blog/' : '/about/resources/community/' ,
361+ '/community/use-cases/' : '/about/use-cases/' ,
362+ '/community/projects/' : '/about/resources/community/' ,
363+
364+ // Computing section -> DevHub/compute-resources
365+ '/computing/' : '/devhub/compute-resources/standard-instances/' ,
366+ '/computing/confidential/' : '/devhub/compute-resources/confidential-instances/01-confidential-instance-introduction' ,
367+ '/computing/confidential/encrypted-disk/' : '/devhub/compute-resources/confidential-instances/03-confidential-instance-create-encrypted-disk' ,
368+ '/computing/confidential/instance/' : '/devhub/compute-resources/confidential-instances/04-confidential-instance-deploy' ,
369+ '/computing/confidential/requirements/' : '/devhub/compute-resources/confidential-instances/02-confidential-instance-requirements' ,
370+ '/computing/confidential/troubleshooting/' : '/devhub/compute-resources/confidential-instances/05-confidential-instance-troubleshooting' ,
371+ '/computing/custom_domain/setup/' : '/devhub/deploying-and-hosting/custom-domains/setup' ,
372+ '/computing/gpu/' : '/devhub/compute-resources/gpu-instances/' ,
373+ '/computing/runtimes/' : '/devhub/compute-resources/functions/' ,
374+ '/computing/runtimes/custom/' : '/devhub/compute-resources/functions/advanced/custom-builds/' ,
375+ '/computing/volumes/immutable/' : '/devhub/building-applications/data-storage/types-of-storage/immutable-volume' ,
376+ '/computing/volumes/persistent/' : '/devhub/building-applications/data-storage/types-of-storage/persistent-storage' ,
377+
378+ // Guides -> DevHub sections
379+ '/guides/testing_microvms/' : '/devhub/compute-resources/functions/advanced/test-programs' ,
380+ '/guides/update_a_program/' : '/devhub/compute-resources/functions/advanced/update-programs' ,
381+ '/guides/python/advanced/' : '/devhub/compute-resources/functions/advanced/custom-builds/python/advanced/features' ,
382+ '/guides/python/dependency_volume/' : '/devhub/compute-resources/functions/advanced/custom-builds/python/advanced/dependency-volumes' ,
383+ '/guides/python/getting_started/' : '/devhub/compute-resources/functions/advanced/custom-builds/python/getting-started/' ,
384+ '/guides/rust/rust_microvm/' : '/devhub/compute-resources/functions/advanced/custom-builds/rust' ,
385+
386+ // Libraries -> DevHub/sdks-and-tools
387+ '/libraries/networks/' : '/devhub/api-reference/rest' ,
388+ '/libraries/python-sdk/' : '/devhub/sdks-and-tools/python-sdk/' ,
389+ '/libraries/python-sdk/accounts/' : '/devhub/sdks-and-tools/python-sdk/accounts' ,
390+ '/libraries/python-sdk/error/' : '/devhub/sdks-and-tools/python-sdk/error' ,
391+ '/libraries/python-sdk/forget/' : '/devhub/sdks-and-tools/python-sdk/forget' ,
392+ '/libraries/python-sdk/aggregates/create/' : '/devhub/sdks-and-tools/python-sdk/aggregates/create' ,
393+ '/libraries/python-sdk/aggregates/delegate/' : '/devhub/sdks-and-tools/python-sdk/aggregates/delegate' ,
394+ '/libraries/python-sdk/aggregates/query/' : '/devhub/sdks-and-tools/python-sdk/aggregates/query' ,
395+ '/libraries/python-sdk/posts/create/' : '/devhub/sdks-and-tools/python-sdk/posts/create' ,
396+ '/libraries/python-sdk/posts/query/' : '/devhub/sdks-and-tools/python-sdk/posts/query' ,
397+ '/libraries/typescript-sdk/' : '/devhub/sdks-and-tools/typescript-sdk/' ,
398+ '/libraries/typescript-sdk/accounts/' : '/devhub/sdks-and-tools/typescript-sdk/accounts' ,
399+ '/libraries/typescript-sdk/aggregates/' : '/devhub/sdks-and-tools/typescript-sdk/aggregates' ,
400+ '/libraries/typescript-sdk/instances/' : '/devhub/sdks-and-tools/typescript-sdk/instances' ,
401+ '/libraries/typescript-sdk/posts/' : '/devhub/sdks-and-tools/typescript-sdk/posts' ,
402+ '/libraries/typescript-sdk/troubleshooting/' : '/devhub/sdks-and-tools/typescript-sdk/troubleshooting' ,
403+
404+ // Nodes section
405+ '/nodes/compute/' : '/nodes/compute/introduction/' ,
406+ '/nodes/compute/releases/' : '/nodes/resources/releases/' ,
407+ '/nodes/compute/troubleshooting/' : '/nodes/resources/management/troubleshooting/' ,
408+ '/nodes/compute/advanced/enable-confidential/' : '/nodes/compute/advanced/confidential/' ,
409+ '/nodes/compute/advanced/enable-gpu/' : '/nodes/compute/advanced/gpu/' ,
410+ '/nodes/compute/advanced/enable-payg/' : '/nodes/compute/advanced/pay-as-you-go/' ,
411+ '/nodes/compute/advanced/local-testing/' : '/nodes/compute/advanced/local-testing/' ,
412+ '/nodes/compute/installation/configure-caddy/' : '/nodes/compute/installation/' ,
413+ '/nodes/compute/installation/debian-12/' : '/nodes/compute/installation/debian-12/' ,
414+ '/nodes/compute/installation/ubuntu-22.04/' : '/nodes/compute/installation/ubuntu-22.04/' ,
415+ '/nodes/compute/installation/ubuntu-24.04/' : '/nodes/compute/installation/ubuntu-24.04/' ,
416+ '/nodes/core/' : '/nodes/core/introduction/' ,
417+ '/nodes/core/backups/' : '/nodes/resources/management/backups/' ,
418+ '/nodes/reliability/' : '/nodes/resources/management/' ,
419+ '/nodes/reliability/metrics/' : '/nodes/resources/metrics/' ,
420+ '/nodes/reliability/monitoring/' : '/nodes/resources/management/monitoring/' ,
421+ '/nodes/reliability/rewards/' : '/nodes/resources/rewards/' ,
422+ '/nodes/reliability/scores/' : '/nodes/resources/scoring/' ,
423+ '/nodes/reliability/troubleshooting/' : '/nodes/resources/management/troubleshooting/' ,
424+
425+ // Protocol section -> About/DevHub sections
426+ '/protocol/chains/' : '/about/network/supported-blockchains/' ,
427+ '/protocol/messages/' : '/about/network/message-types/' ,
428+ '/protocol/permissions/' : '/devhub/building-applications/messaging/permissions' ,
429+ '/protocol/usage/' : '/about/how-it-works/' ,
430+ '/protocol/object-types/aggregates/' : '/devhub/building-applications/messaging/object-types/aggregates' ,
431+ '/protocol/object-types/posts/' : '/devhub/building-applications/messaging/object-types/posts' ,
432+ '/protocol/object-types/programs/' : '/devhub/building-applications/messaging/object-types/programs' ,
433+ '/protocol/object-types/storage/' : '/devhub/building-applications/messaging/object-types/store' ,
434+
435+ // Tools section -> DevHub sections
436+ '/tools/aleph-account/' : '/nodes/staking/' ,
437+ '/tools/ipfs-pinning/' : '/devhub/storage/ipfs-pinning/' ,
438+ '/tools/vrf/' : '/devhub/tools/vrf/' ,
439+ '/tools/web3-hosting/' : '/devhub/deploying-and-hosting/web-hosting/' ,
440+ '/tools/aleph-client/' : '/devhub/sdks-and-tools/aleph-cli/' ,
441+ '/tools/aleph-client/troubleshooting/' : '/devhub/sdks-and-tools/aleph-cli/troubleshooting' ,
442+ '/tools/aleph-client/usage/' : '/devhub/sdks-and-tools/aleph-cli/usage' ,
443+ '/tools/indexer/' : '/devhub/building-applications/blockchain-data/indexing/' ,
444+ '/tools/indexer/evm-indexer/' : '/devhub/building-applications/blockchain-data/indexing/evm-indexer' ,
445+ '/tools/indexer/indexer-generator/' : '/devhub/building-applications/blockchain-data/indexing/solana-idl-indexer' ,
446+ '/tools/webconsole/' : '/devhub/compute-resources/functions/webconsole/' ,
447+ '/tools/webconsole/upload/' : '/devhub/compute-resources/functions/webconsole/upload' ,
448+ '/tools/webconsole/write_your_code/' : '/devhub/compute-resources/functions/webconsole/write_your_code' ,
449+ '/tools/webconsole/languages/nodejs/' : '/devhub/compute-resources/functions/webconsole/languages/nodejs' ,
450+ '/tools/webconsole/languages/other/' : '/devhub/compute-resources/functions/webconsole/languages/other' ,
451+ '/tools/webconsole/languages/python/' : '/devhub/compute-resources/functions/webconsole/languages/python'
452+ }
453+
454+
455+ } )
0 commit comments