|
|
@ -96,52 +96,200 @@ async function redirects() { |
|
|
|
destination: '/smart-contracts/running-a-testnet-node', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ source: '/core/smart/cli-wallet-quickstart.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/introduction.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/architecture.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/namespaces.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/comparison.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/tutorial_subdomains.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/search.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/faq_technical.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/pickname.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/creationhowto.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/resolving.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/register.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/manage.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/subdomains.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/naming/forks.html', destination: '', permanent: true }, |
|
|
|
{ source: '/develop/collections.html', destination: '', permanent: true }, |
|
|
|
{ source: '/develop/collection-type.html', destination: '', permanent: true }, |
|
|
|
{ source: '/storage/hub-operation.html', destination: '', permanent: true }, |
|
|
|
{ source: '/storage/amazon-s3-deploy.html', destination: '', permanent: true }, |
|
|
|
{ source: '/storage/digital-ocean-deploy.html', destination: '', permanent: true }, |
|
|
|
{ source: '/storage/hello-hub-choice.html', destination: '', permanent: true }, |
|
|
|
{ source: '/storage/gaia-admin.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/atlas/overview.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/atlas/howitworks.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/atlas/howtouse.html', destination: '', permanent: true }, |
|
|
|
{ source: '/org/overview.html', destination: '', permanent: true }, |
|
|
|
{ source: '/faqs/allFAQS.html', destination: '', permanent: true }, |
|
|
|
{ source: '/org/token.html', destination: '', permanent: true }, |
|
|
|
{ source: '/org/whitepaper-blockchain.html', destination: '', permanent: true }, |
|
|
|
{ source: '/org/wallet-intro.html', destination: '', permanent: true }, |
|
|
|
{ source: '/org/wallet-install.html', destination: '', permanent: true }, |
|
|
|
{ source: '/org/wallet-use.html', destination: '', permanent: true }, |
|
|
|
{ source: '/org/wallet-troubleshoot.html', destination: '', permanent: true }, |
|
|
|
{ source: '/org/tokenholders.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/cmdLineRef.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/smart/clarityRef.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/smart/rpc-api.html', destination: '', permanent: true }, |
|
|
|
{ source: '/common/javascript_ref.html', destination: '', permanent: true }, |
|
|
|
{ source: '/common/android_ref.html', destination: '', permanent: true }, |
|
|
|
{ source: '/common/ios_ref.html', destination: '', permanent: true }, |
|
|
|
{ source: '/common/core_ref.html', destination: '', permanent: true }, |
|
|
|
{ source: '/core/wire-format.html', destination: '', permanent: true }, |
|
|
|
{ source: '/storage/config-schema.html', destination: '', permanent: true }, |
|
|
|
{ source: '/org/secureref.html', destination: '', permanent: true }, |
|
|
|
{ source: '/develop/overview_auth.html', destination: '', permanent: true }, |
|
|
|
{ source: '/org/terms.html', destination: '', permanent: true }, |
|
|
|
{ |
|
|
|
source: '/core/smart/cli-wallet-quickstart.html', |
|
|
|
destination: '/smart-contracts/cli-wallet-quickstart', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/naming/introduction.html', |
|
|
|
destination: '/naming-services/overview', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/naming/architecture.html', |
|
|
|
destination: '/naming-services/architecture', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/naming/namespaces.html', |
|
|
|
destination: '/naming-services/namespaces', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/naming/comparison.html', |
|
|
|
destination: '/naming-services/comparison', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/naming/tutorial_subdomains.html', |
|
|
|
destination: '/naming-services/subdomains-tutorial', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/naming/search.html', |
|
|
|
destination: '/naming-services/build-profile-search-index', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/faq_technical.html', |
|
|
|
destination: 'https://blockstack.zendesk.com/hc/en-us', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/naming/pickname.html', |
|
|
|
destination: '/naming-services/choose-name', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/naming/creationhowto.html', |
|
|
|
destination: '/naming-services/create-namespace', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/naming/resolving.html', |
|
|
|
destination: '/naming-services/resolve-name', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/naming/register.html', |
|
|
|
destination: '/naming-services/register-name', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/naming/manage.html', |
|
|
|
destination: '/naming-services/manage-names', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/naming/subdomains.html', |
|
|
|
destination: '/naming-services/subdomains', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ source: '/core/naming/forks.html', destination: '/naming-services/forks', permanent: true }, |
|
|
|
{ |
|
|
|
source: '/develop/collections.html', |
|
|
|
destination: '/data-storage/collections', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/develop/collection-type.html', |
|
|
|
destination: '/data-storage/collections-type', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/storage/hub-operation.html', |
|
|
|
destination: '/storage-hubs/overview', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/storage/amazon-s3-deploy.html', |
|
|
|
destination: '/storage-hubs/amazon-s3-deploy', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/storage/digital-ocean-deploy.html', |
|
|
|
destination: '/storage-hubs/digital-ocean-deploy', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/storage-hubs/hello-hub-choice.html', |
|
|
|
destination: '/storage-hubs/hello-hub-choice', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/storage/gaia-admin.html', |
|
|
|
destination: '/storage-hubs/gaia-admin', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/atlas/overview.html', |
|
|
|
destination: '/stacks-blockchain/atlas/overview', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/atlas/howitworks.html', |
|
|
|
destination: '/stacks-blockchain/atlas/how-atlas-works', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/atlas/howtouse.html', |
|
|
|
destination: '/stacks-blockchain/atlas/usage', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ source: '/org/overview.html', destination: '/ecosystem/overview', permanent: true }, |
|
|
|
{ |
|
|
|
source: '/faqs/allFAQS.html', |
|
|
|
destination: 'https://blockstack.zendesk.com/hc/en-us', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ source: '/org/token.html', destination: '/ecosystem/stacks-token', permanent: true }, |
|
|
|
{ |
|
|
|
source: '/org/whitepaper-blockchain.html', |
|
|
|
destination: 'https://blockstack.org/whitepaper.pdf', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ source: '/org/wallet-intro.html', destination: '/stacks-wallet/overview', permanent: true }, |
|
|
|
{ source: '/org/wallet-install.html', destination: '/stacks-wallet/install', permanent: true }, |
|
|
|
{ source: '/org/wallet-use.html', destination: '/stacks-wallet/usage', permanent: true }, |
|
|
|
{ |
|
|
|
source: '/org/wallet-troubleshoot.html', |
|
|
|
destination: '/stacks-wallet/troubleshooting', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/org/tokenholders.html', |
|
|
|
destination: '/ecosystem/stacks-token-holders', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ source: '/core/cmdLineRef.html', destination: '/references/blockstack-cli', permanent: true }, |
|
|
|
{ |
|
|
|
source: '/core/smart/clarityRef.html', |
|
|
|
destination: '/references/clarity-language', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/smart/rpc-api.html', |
|
|
|
destination: '/references/stacks-rpc-api', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/common/javascript_ref.html', |
|
|
|
destination: 'https://blockstack.github.io/blockstack.js/', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/common/android_ref.html', |
|
|
|
destination: 'https://blockstack.github.io/blockstack-android/', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/common/ios_ref.html', |
|
|
|
destination: 'https://blockstack.github.io/blockstack-ios/', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/common/core_ref.html', |
|
|
|
destination: '/references/stacks-blockchain', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/core/wire-format.html', |
|
|
|
destination: '/stacks-blockchain/wire-format', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
source: '/storage/config-schema.html', |
|
|
|
destination: '/storage-hubs/config-schema', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ source: '/org/secureref.html', destination: '/stacks-wallet/security', permanent: true }, |
|
|
|
{ |
|
|
|
source: '/develop/overview_auth.html', |
|
|
|
destination: '/authentication/overview', |
|
|
|
permanent: true, |
|
|
|
}, |
|
|
|
{ source: '/org/terms.html', destination: '/references/glossary', permanent: true }, |
|
|
|
]; |
|
|
|
} |
|
|
|
|
|
|
@ -153,6 +301,7 @@ module.exports = withFonts( |
|
|
|
jsconfigPaths: true, |
|
|
|
trailingSlash: true, |
|
|
|
}, |
|
|
|
redirects, |
|
|
|
pageExtensions: ['js', 'ts', 'tsx', 'md', 'mdx'], |
|
|
|
webpack: (config, options) => { |
|
|
|
config.module.rules.push({ |
|
|
|