Skip to content

Commit

Permalink
Merge pull request #122 from LedgerHQ/Redirect-Plugin
Browse files Browse the repository at this point in the history
redirect plugin pages
  • Loading branch information
cfranceschi-ledger authored Jan 26, 2024
2 parents 87666e8 + dd53f25 commit 19c381f
Showing 1 changed file with 73 additions and 13 deletions.
86 changes: 73 additions & 13 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -722,62 +722,122 @@ module.exports = {
},
{
source: '/docs/dapp/requirements',
destination: '/docs/plugin/requirements',
destination: '/docs/device-app/deliver',
permanent: true,
},
{
source: '/docs/plugin/requirements',
destination: '/docs/device-app/deliver',
permanent: true,
},
{
source: '/docs/dapp/embedded-plugin/overview',
destination: '/docs/plugin/overview',
destination: '/docs/device-app/develop/tutorials/plugin',
permanent: true,
},
{
source: '/docs/plugin/overview',
destination: '/docs/device-app/develop/tutorials/plugin',
permanent: true,
},
{
source: '/docs/dapp/embedded-plugin/code-overview',
destination: '/docs/plugin/code-walkthrough',
destination: '/docs/device-app/develop/tutorials/plugin',
permanent: true,
},
{
source: '/docs/plugin/code-walkthrough',
destination: '/docs/device-app/develop/tutorials/plugin',
permanent: true,
},
{
source: '/docs/dapp/embedded-plugin/boilerplate-plugin',
destination: '/docs/plugin/code-walkthrough/boilerplate-plugin',
destination: '/docs/device-app/develop/tutorials/pluginh',
permanent: true,
},
{
source: '/docs/plugin/code-walkthrough/boilerplate-plugin',
destination: '/docs/device-app/develop/tutorials/plugin',
permanent: true,
},
{
source: '/docs/dapp/embedded-plugin/selectors',
destination: '/docs/plugin/code-walkthrough/selectors',
destination: '/docs/device-app/develop/tutorials/plugin/selectors',
permanent: true,
},
{
source: '/docs/plugin/code-walkthrough/selectors',
destination: '/docs/device-app/develop/tutorials/plugin/selectors',
permanent: true,
},
{
source: '/docs/dapp/embedded-plugin/init-contract',
destination: '/docs/plugin/code-walkthrough/selectors-detailed/init-contract',
destination: '/docs/device-app/develop/tutorials/plugin/selectors-detailed/init-contract',
permanent: true,
},
{
source: '/docs/plugin/code-walkthrough/selectors-detailed/init-contract',
destination: '/docs/device-app/develop/tutorials/plugin/selectors-detailed/init-contract',
permanent: true,
},
{
source: '/docs/dapp/embedded-plugin/provide-parameter',
destination: '/docs/plugin/code-walkthrough/selectors-detailed/provide-parameter',
destination: '/docs/device-app/develop/tutorials/plugin/selectors-detailed/provide-parameter',
permanent: true,
},
{
source: '/docs/plugin/code-walkthrough/selectors-detailed/provide-parameter',
destination: '/docs/device-app/develop/tutorials/plugin/selectors-detailed/provide-parameter',
permanent: true,
},
{
source: '/docs/dapp/embedded-plugin/finalize',
destination: '/docs/plugin/code-walkthrough/selectors-detailed/finalize',
destination: '/docs/device-app/develop/tutorials/plugin/selectors-detailed/finalize',
permanent: true,
},
{
source: '/docs/plugin/code-walkthrough/selectors-detailed/finalize',
destination: '/docs/device-app/develop/tutorials/plugin/selectors-detailed/finalize',
permanent: true,
},
{
source: '/docs/dapp/embedded-plugin/provide-token',
destination: '/docs/plugin/code-walkthrough/selectors-detailed/provide-token',
destination: '/docs/device-app/develop/tutorials/plugin/selectors-detailed/provide-token',
permanent: true,
},
{
source: '/docs/dapp/embedded-plugin/query-contract-id',
destination: '/docs/plugin/code-walkthrough/selectors-detailed/query-contract-id',
source: '/docs/plugin/code-walkthrough/selectors-detailed/provide-token',
destination: '/docs/device-app/develop/tutorials/plugin/selectors-detailed/provide-token',
permanent: true,
},
{
source: '/docs/dapp/embedded-plugin/query-contract-ui',
destination: '/docs/plugin/code-walkthrough/selectors-detailed/query-contract-ui',
destination: '/docs/device-app/develop/tutorials/plugin/selectors-detailed/query-contract-ui',
permanent: true,
},
{
source: '/docs/plugin/code-walkthrough/selectors-detailed/query-contract-ui',
destination: '/docs/device-app/develop/tutorials/plugin/selectors-detailed/query-contract-ui',
permanent: true,
},
{
source: '/docs/plugin/code-walkthrough/selectors-detailed/query-contract-id',
destination: '/docs/device-app/develop/tutorials/plugin/selectors-detailed/query-contract-id',
permanent: true,
},
{
source: '/docs/plugin/code-walkthrough/selectors-detailed/query-contract-id',
destination: '/docs/device-app/develop/tutorials/plugin/selectors-detailed/query-contract-id',
permanent: true,
},
{
source: '/docs/dapp/embedded-plugin/testing',
destination: '/docs/plugin/code-walkthrough/testing',
destination: '/docs/device-app/develop/tutorials/plugin/testing',
permanent: true,
},
{
source: '/docs/plugin/code-walkthrough/testing',
destination: '/docs/device-app/develop/tutorials/plugin/testing',
permanent: true,
},
{
Expand Down

0 comments on commit 19c381f

Please sign in to comment.