diff --git a/next.config.js b/next.config.js index 184dbdb8..8bc2db65 100644 --- a/next.config.js +++ b/next.config.js @@ -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, }, {