Skip to content

Commit 3fefee4

Browse files
committed
Set up redirect for the link from the old doc to the new pages
1 parent ea86a08 commit 3fefee4

File tree

1 file changed

+100
-2
lines changed

1 file changed

+100
-2
lines changed

docs/.vitepress/config.mts

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

0 commit comments

Comments
 (0)