From f261df2202da2ff715f1732cec15d1e9060a70b1 Mon Sep 17 00:00:00 2001 From: mfahampshire Date: Mon, 21 Oct 2024 18:17:08 +0200 Subject: [PATCH] added todo comments for old ts sdk redirects --- documentation/docs/next.config.js | 97 +++++++++++++++++++++++++++++-- 1 file changed, 92 insertions(+), 5 deletions(-) diff --git a/documentation/docs/next.config.js b/documentation/docs/next.config.js index 1be284f772..bc41bbecc4 100644 --- a/documentation/docs/next.config.js +++ b/documentation/docs/next.config.js @@ -445,17 +445,104 @@ const config = { destination: "/operators/community-counsel/add-content", permanent: true, }, - // { - // source: "", - // destination: "", - // permanent: true, - // }, // since the filepaths are mostly the same, we otherwise just match on old URLs that end with .html { source: "/:path*.html", destination: "/:path*", permanent: false, }, + // TODO these need to go in the config of the existing deployed ts sdk docs to redirect from there + // these assume source basePath = sdk.nymtech.net + // { + // source: "/intro", + // destination: "https://www./developers/typescript", + // permanent: true, + // }, + // { + // source: "/overview", + // destination: "https://www./developers/typescript/overview", + // permanent: true, + // }, + // { + // source: "/integrations", + // destination: "https://www./developers/integrations", + // permanent: true, + // }, + // { + // source: "/installation", + // destination: "https://www./developers/typescript/installation", + // permanent: true, + // }, + // { + // source: "/start", + // destination: "https://www./developers/typescript/start", + // permanent: true, + // }, + // { + // source: "/examples/mix-fetch", + // destination: "https://www.developers/typescript/examples/mix-fetch", + // permanent: true, + // }, + // { + // source: "/examples/mixnet", + // destination: "https://www.//developers/typescript/examples/mixnet", + // permanent: true, + // }, + // { + // source: "/examples/nym-smart-contracts", + // destination: "https://www./developers/typescript/examples/nym-smart-contracts", + // permanent: true, + // }, + // { + // source: "/examples/cosmos-kit", + // destination: "https://www.//developers/typescript/examples/cosmos-kit", + // permanent: true, + // }, + // { + // source: "/playground/mixfetch", + // destination: "https://www./developers/typescript/playground/mixfetch", + // permanent: true, + // }, + // { + // source: "/playground/traffic", + // destination: "https://www./developers/typescript/playground/traffic", + // permanent: true, + // }, + // { + // source: "/playground/mixnodes", + // destination: "https://www./developers/typescript/playground/mixnodes", + // permanent: true, + // }, + // { + // source: "/playground/wallet", + // destination: "https://www./typescript/playground/wallet", + // permanent: true, + // }, + // { + // source: "/playground/cosmos-kit", + // destination: "https://www./developers/typescript/playground/cosmos-kit", + // permanent: true, + // }, + // { + // source: "/bundling/bundling", + // destination: "https://www./developers/typescript/bundling/bundling", + // permanent: true, + // }, + // { + // source: "/bundling/esbuild", + // destination: "https://www./developers/typescript/bundling/esbuild", + // permanent: true, + // }, + // { + // source: "/bundling/webpack", + // destination: "https://www./developers/typescript/bundling/webpack", + // permanent: true, + // }, + // { + // source: "/FAQ/general", + // destination: "https://www./developers/typescript/FAQ", + // permanent: true, + // }, /* TODO /developers/examples/custom-services.html