From db6b1d866f31b7af8f1c5ce85f08a15a87f519cb Mon Sep 17 00:00:00 2001 From: Dr-Electron Date: Mon, 9 Oct 2023 10:02:54 +0200 Subject: [PATCH 1/6] Remove defaultVersion and detect versions with badges --- src/components/Switcher/index.tsx | 1 - src/utils/pluginConfigGenerators.js | 26 ++++++++++---------------- src/utils/useSwitcher.ts | 16 ++++++---------- versionedConfig.js | 8 ++++---- 4 files changed, 20 insertions(+), 31 deletions(-) diff --git a/src/components/Switcher/index.tsx b/src/components/Switcher/index.tsx index 7203fe652d1..53cdf6bb02a 100644 --- a/src/components/Switcher/index.tsx +++ b/src/components/Switcher/index.tsx @@ -20,7 +20,6 @@ export type Version = Omit & { export type Doc = Item & { subsection: string; versions: Version[]; - defaultVersion?: string; }; export type Sidebar = { diff --git a/src/utils/pluginConfigGenerators.js b/src/utils/pluginConfigGenerators.js index b94aad4fdc8..1447c41ef2c 100644 --- a/src/utils/pluginConfigGenerators.js +++ b/src/utils/pluginConfigGenerators.js @@ -1,22 +1,15 @@ const path = require('path'); +const MAIN_BADGE = 'Shimmer'; + /** - * Find main version of a plugin by resolving it to the default version or the first version configured. + * Find main version of a plugin by resolving it to the first version with the corresponding batch. * @param {import('../common/components/Switcher').Doc} plugin */ -function findMainVersion(plugin) { - let mainVersion = plugin.versions[0]; - if (plugin.defaultVersion) { - const foundVersion = plugin.versions.find( - (version) => version.label === plugin.defaultVersion, - ); - if (!foundVersion) - throw `Default version ${plugin.defaultVersion} of doc ${plugin.label} not found.`; - - mainVersion = foundVersion; - } - - return mainVersion; +function findMainVersion(plugin, badge = MAIN_BADGE) { + return plugin.versions.find((version) => + version.badges.some((b) => b.includes(badge)), + ); } /** @@ -26,7 +19,7 @@ function findMainVersion(plugin) { */ function generatePluginConfig(pluginConfig, basePath) { return pluginConfig.flatMap((doc) => { - const mainVersion = findMainVersion(doc); + const mainVersion = findMainVersion(doc) ?? doc.versions[0]; return doc.versions.map((version) => { // eslint-disable-next-line @typescript-eslint/no-unused-vars @@ -93,7 +86,7 @@ function createMainVersionRedirects(versionedConfig) { */ function generateSwitcherConfig(pluginConfig) { return pluginConfig.map((plugin) => { - const mainVersion = findMainVersion(plugin); + const mainVersion = findMainVersion(plugin) ?? plugin.versions[0]; return { ...plugin, id: @@ -115,4 +108,5 @@ module.exports = { generatePluginConfig, generateSwitcherConfig, createMainVersionRedirects, + MAIN_BADGE, }; diff --git a/src/utils/useSwitcher.ts b/src/utils/useSwitcher.ts index 52e3abcfa01..0b459a5717b 100644 --- a/src/utils/useSwitcher.ts +++ b/src/utils/useSwitcher.ts @@ -14,6 +14,7 @@ import { Sidebar, Item, } from '../common/components/Switcher'; +import { MAIN_BADGE } from './pluginConfigGenerators'; export type GlobalPluginData = DocsGlobalPluginData & { globalSidebars?: { @@ -133,17 +134,12 @@ export default function useSwitcher(): SwitcherProps { }; }); - // Resolve the doc link to the default version or the first version configured. + // Resolve the doc link to the first MAIN_BADGE version. let to = versionLinks[0].to; - if (doc.defaultVersion) { - const foundVersion = versionLinks.find( - (version) => version.id === doc.defaultVersion, - ); - if (!foundVersion) - throw `Default version ${doc.defaultVersion} of doc ${doc.label} not found.`; - - to = foundVersion.to; - } + const foundVersion = versionLinks.find((version) => + version.badges.some((b) => b.includes(MAIN_BADGE)), + ); + if (foundVersion) to = foundVersion.to; let active = false; if (current.doc && doc.id === current.doc.id) { diff --git a/versionedConfig.js b/versionedConfig.js index d371e249fd1..17bb72375bc 100644 --- a/versionedConfig.js +++ b/versionedConfig.js @@ -70,7 +70,7 @@ exports.buildPluginsConfig = [ versions: [ { label: '1.0-rc.1', - badges: ['IOTA/Shimmer'], + badges: ['IOTA', 'Shimmer'], }, { label: '0.6', @@ -154,7 +154,7 @@ exports.buildPluginsConfig = [ versions: [ { label: '1.1', - badges: ['IOTA/Shimmer'], + badges: ['IOTA', 'Shimmer'], }, ], }, @@ -167,7 +167,7 @@ exports.buildPluginsConfig = [ versions: [ { label: '', - badges: ['IOTA/Shimmer'], + badges: ['IOTA', 'Shimmer'], docItemComponent: '@theme/ApiItem', }, ], @@ -215,7 +215,7 @@ exports.maintainPluginsConfig = [ versions: [ { label: '2.0', - badges: ['IOTA/Shimmer'], + badges: ['IOTA', 'Shimmer'], }, { label: '1.2', From b794e5ecb0eb6255cc9ac163b7565db79a71f6e8 Mon Sep 17 00:00:00 2001 From: Dr-Electron Date: Mon, 9 Oct 2023 10:10:34 +0200 Subject: [PATCH 2/6] Update versionedConfig --- .../{1.0-rc.1 => 1.0-rc.2}/docs/changelog.md | 0 .../{1.0-rc.1 => 1.0-rc.2}/docs/contribute.md | 0 .../docs/getting_started/docker.md | 0 .../docs/reference/api.md | 0 .../docs/reference/authentication.md | 0 .../docs/reference/environment.md | 0 .../docs/reference/sync_and_analytics.md | 0 .../docs/troubleshooting.md | 0 .../{1.0-rc.1 => 1.0-rc.2}/docs/welcome.md | 0 .../{1.0-rc.1 => 1.0-rc.2}/sidebars.js | 0 versionedConfig.js | 28 +++++++++---------- 11 files changed, 14 insertions(+), 14 deletions(-) rename docs/maintain/chronicle/{1.0-rc.1 => 1.0-rc.2}/docs/changelog.md (100%) rename docs/maintain/chronicle/{1.0-rc.1 => 1.0-rc.2}/docs/contribute.md (100%) rename docs/maintain/chronicle/{1.0-rc.1 => 1.0-rc.2}/docs/getting_started/docker.md (100%) rename docs/maintain/chronicle/{1.0-rc.1 => 1.0-rc.2}/docs/reference/api.md (100%) rename docs/maintain/chronicle/{1.0-rc.1 => 1.0-rc.2}/docs/reference/authentication.md (100%) rename docs/maintain/chronicle/{1.0-rc.1 => 1.0-rc.2}/docs/reference/environment.md (100%) rename docs/maintain/chronicle/{1.0-rc.1 => 1.0-rc.2}/docs/reference/sync_and_analytics.md (100%) rename docs/maintain/chronicle/{1.0-rc.1 => 1.0-rc.2}/docs/troubleshooting.md (100%) rename docs/maintain/chronicle/{1.0-rc.1 => 1.0-rc.2}/docs/welcome.md (100%) rename docs/maintain/chronicle/{1.0-rc.1 => 1.0-rc.2}/sidebars.js (100%) diff --git a/docs/maintain/chronicle/1.0-rc.1/docs/changelog.md b/docs/maintain/chronicle/1.0-rc.2/docs/changelog.md similarity index 100% rename from docs/maintain/chronicle/1.0-rc.1/docs/changelog.md rename to docs/maintain/chronicle/1.0-rc.2/docs/changelog.md diff --git a/docs/maintain/chronicle/1.0-rc.1/docs/contribute.md b/docs/maintain/chronicle/1.0-rc.2/docs/contribute.md similarity index 100% rename from docs/maintain/chronicle/1.0-rc.1/docs/contribute.md rename to docs/maintain/chronicle/1.0-rc.2/docs/contribute.md diff --git a/docs/maintain/chronicle/1.0-rc.1/docs/getting_started/docker.md b/docs/maintain/chronicle/1.0-rc.2/docs/getting_started/docker.md similarity index 100% rename from docs/maintain/chronicle/1.0-rc.1/docs/getting_started/docker.md rename to docs/maintain/chronicle/1.0-rc.2/docs/getting_started/docker.md diff --git a/docs/maintain/chronicle/1.0-rc.1/docs/reference/api.md b/docs/maintain/chronicle/1.0-rc.2/docs/reference/api.md similarity index 100% rename from docs/maintain/chronicle/1.0-rc.1/docs/reference/api.md rename to docs/maintain/chronicle/1.0-rc.2/docs/reference/api.md diff --git a/docs/maintain/chronicle/1.0-rc.1/docs/reference/authentication.md b/docs/maintain/chronicle/1.0-rc.2/docs/reference/authentication.md similarity index 100% rename from docs/maintain/chronicle/1.0-rc.1/docs/reference/authentication.md rename to docs/maintain/chronicle/1.0-rc.2/docs/reference/authentication.md diff --git a/docs/maintain/chronicle/1.0-rc.1/docs/reference/environment.md b/docs/maintain/chronicle/1.0-rc.2/docs/reference/environment.md similarity index 100% rename from docs/maintain/chronicle/1.0-rc.1/docs/reference/environment.md rename to docs/maintain/chronicle/1.0-rc.2/docs/reference/environment.md diff --git a/docs/maintain/chronicle/1.0-rc.1/docs/reference/sync_and_analytics.md b/docs/maintain/chronicle/1.0-rc.2/docs/reference/sync_and_analytics.md similarity index 100% rename from docs/maintain/chronicle/1.0-rc.1/docs/reference/sync_and_analytics.md rename to docs/maintain/chronicle/1.0-rc.2/docs/reference/sync_and_analytics.md diff --git a/docs/maintain/chronicle/1.0-rc.1/docs/troubleshooting.md b/docs/maintain/chronicle/1.0-rc.2/docs/troubleshooting.md similarity index 100% rename from docs/maintain/chronicle/1.0-rc.1/docs/troubleshooting.md rename to docs/maintain/chronicle/1.0-rc.2/docs/troubleshooting.md diff --git a/docs/maintain/chronicle/1.0-rc.1/docs/welcome.md b/docs/maintain/chronicle/1.0-rc.2/docs/welcome.md similarity index 100% rename from docs/maintain/chronicle/1.0-rc.1/docs/welcome.md rename to docs/maintain/chronicle/1.0-rc.2/docs/welcome.md diff --git a/docs/maintain/chronicle/1.0-rc.1/sidebars.js b/docs/maintain/chronicle/1.0-rc.2/sidebars.js similarity index 100% rename from docs/maintain/chronicle/1.0-rc.1/sidebars.js rename to docs/maintain/chronicle/1.0-rc.2/sidebars.js diff --git a/versionedConfig.js b/versionedConfig.js index 17bb72375bc..e94036923b4 100644 --- a/versionedConfig.js +++ b/versionedConfig.js @@ -10,7 +10,7 @@ exports.buildPluginsConfig = [ versions: [ { label: '1.0', - badges: ['Shimmer'], + badges: ['IOTA', 'Shimmer'], //overriding default exclude array to include the python api's classes with _ at the beginning //but still exclude any _admonitions exclude: [ @@ -90,10 +90,6 @@ exports.buildPluginsConfig = [ icon: 'IotaCore', subsection: 'build-layer-1', versions: [ - { - label: '1.4', - badges: ['IOTA'], - }, { label: '2.0-rc.7', badges: ['Shimmer'], @@ -102,6 +98,10 @@ exports.buildPluginsConfig = [ 'banners/pre-sdk-libs-deprecated.mdx', ), }, + { + label: '1.4', + badges: ['IOTA'], + }, ], }, { @@ -130,10 +130,6 @@ exports.buildPluginsConfig = [ icon: 'Wallet', subsection: 'build-layer-1', versions: [ - { - label: '0.1', - badges: ['IOTA'], - }, { label: '1.0-rc.6', badges: ['Shimmer'], @@ -142,6 +138,10 @@ exports.buildPluginsConfig = [ 'banners/pre-sdk-libs-deprecated.mdx', ), }, + { + label: '0.1', + badges: ['IOTA'], + }, ], }, { @@ -199,7 +199,7 @@ exports.buildPluginsConfig = [ versions: [ { label: '1.0', - badges: ['Shimmer'], + badges: ['IOTA', 'Shimmer'], }, ], }, @@ -244,12 +244,12 @@ exports.maintainPluginsConfig = [ subsection: 'maintain-layer-1', versions: [ { - label: '0.3', - badges: ['IOTA'], + label: '1.0-rc.2', + badges: ['IOTA', 'Shimmer'], }, { - label: '1.0-rc.1', - badges: ['Shimmer'], + label: '0.3', + badges: ['IOTA'], }, ], }, From 8448ba5ed9e1c91e07e0b94307de09ce28a94bf2 Mon Sep 17 00:00:00 2001 From: Dr-Electron Date: Mon, 9 Oct 2023 22:54:05 +0200 Subject: [PATCH 3/6] Add shimmer/iota redirects --- docusaurus.config.js | 7 +++--- src/utils/pluginConfigGenerators.js | 37 ++++++++++++++++++++++------- 2 files changed, 32 insertions(+), 12 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 911148fee9d..b35a29d48aa 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -10,7 +10,7 @@ const { maintainPluginsConfig, } = require('./versionedConfig'); const { - createMainVersionRedirects, + createVersionRedirects, } = require('./src/utils/pluginConfigGenerators'); module.exports = async () => { @@ -20,9 +20,8 @@ module.exports = async () => { ).map(async (contentConfig) => await create_doc_plugin(contentConfig)), ); - const buildMainVersionRedirects = - createMainVersionRedirects(buildPluginsConfig); - const maintainMainVersionRedirects = createMainVersionRedirects( + const buildMainVersionRedirects = createVersionRedirects(buildPluginsConfig); + const maintainMainVersionRedirects = createVersionRedirects( maintainPluginsConfig, ); diff --git a/src/utils/pluginConfigGenerators.js b/src/utils/pluginConfigGenerators.js index 1447c41ef2c..8cfd579ccb9 100644 --- a/src/utils/pluginConfigGenerators.js +++ b/src/utils/pluginConfigGenerators.js @@ -1,6 +1,6 @@ const path = require('path'); -const MAIN_BADGE = 'Shimmer'; +const MAIN_BADGE = 'IOTA'; /** * Find main version of a plugin by resolving it to the first version with the corresponding batch. @@ -60,21 +60,42 @@ function generatePluginConfig(pluginConfig, basePath) { * @param {import('../common/components/Switcher').Doc[]} versionedConfig - An array of versioned plugin configurations. * @returns {Array} - An array of redirects. */ -function createMainVersionRedirects(versionedConfig) { +function createVersionRedirects(versionedConfig) { redirects = []; for (const doc of versionedConfig) { - if (doc.versions.length > 1) { - // Find main version - const mainVersion = findMainVersion(doc); + // Find main version + const mainVersion = findMainVersion(doc); + const mainShimmerVersion = findMainVersion(doc, 'Shimmer'); - // TODO: This could be removed once we don't use points in paths anymore. - const routeBasePath = doc.routeBasePath ? doc.routeBasePath : doc.id; + // TODO: This could be removed once we don't use points in paths anymore. + const routeBasePath = doc.routeBasePath ? doc.routeBasePath : doc.id; + if (mainVersion) { + // Redirect deep version link to route base path redirects.push({ from: '/' + routeBasePath + '/' + mainVersion.label, to: '/' + routeBasePath, }); + + // Redirect to main IOTA version + redirects.push({ + from: '/' + routeBasePath + '/iota', + to: '/' + routeBasePath, + }); } + + if (mainShimmerVersion && mainShimmerVersion !== mainVersion) + // Redirect to main Shimmer version + redirects.push({ + from: '/' + routeBasePath + '/shimmer/', + to: '/' + routeBasePath + '/' + mainShimmerVersion.label, + }); + else if (mainShimmerVersion === mainVersion) + // Redirect to main Shimmer version if it is the main version + redirects.push({ + from: '/' + routeBasePath + '/shimmer/', + to: '/' + routeBasePath, + }); } return redirects; @@ -107,6 +128,6 @@ function generateSwitcherConfig(pluginConfig) { module.exports = { generatePluginConfig, generateSwitcherConfig, - createMainVersionRedirects, + createVersionRedirects, MAIN_BADGE, }; From ffa641a720a1c362a1cf79eddcc18cf94e9cb0f7 Mon Sep 17 00:00:00 2001 From: Dr-Electron Date: Mon, 9 Oct 2023 22:55:18 +0200 Subject: [PATCH 4/6] Update wasp versions --- .../{0.7 => v1.0.0-rc.6}/docs/how-tos/chain-management.md | 0 .../docs/how-tos/setting-up-a-chain.md | 0 .../{0.7 => v1.0.0-rc.6}/docs/how-tos/wasp-cli.md | 0 docs/build/wasp-cli/{0.7 => v1.0.0-rc.6}/sidebars.js | 0 .../docs/explanations/how-accounts-work.md | 0 .../docs/getting-started/compatibility.md | 0 .../docs/getting-started/compatible-tools.md | 0 .../docs/getting-started/quickstart.mdx | 0 .../wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/ERC20.md | 0 .../wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/ERC721.md | 0 .../docs/how-tos/create-a-basic-contract.md | 0 .../docs/how-tos/deposit-to-a-chain.mdx | 0 .../docs/how-tos/magic-contract/call-a-function.md | 0 .../docs/how-tos/magic-contract/call-a-native-contract.md | 0 .../docs/how-tos/magic-contract/magic.md | 0 .../docs/how-tos/magic-contract/send-tokens-to-l1.md | 0 .../wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/using.md | 0 .../docs/how-tos/view-account-balances.mdx | 0 .../docs/how-tos/withdraw-from-a-chain.mdx | 0 .../wasp-evm/{0.7 => v1.0.0-rc.6}/docs/introduction.md | 0 .../docs/reference/core-contracts/accounts.md | 0 .../docs/reference/core-contracts/blob.md | 0 .../docs/reference/core-contracts/blocklog.md | 0 .../docs/reference/core-contracts/errors.md | 0 .../docs/reference/core-contracts/evm.md | 0 .../docs/reference/core-contracts/governance.md | 0 .../docs/reference/core-contracts/overview.md | 0 .../docs/reference/core-contracts/root.md | 0 .../docs/reference/core-contracts/xfer.md | 0 .../{0.7 => v1.0.0-rc.6}/docs/reference/magic-contract.md | 0 docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/sidebars.js | 0 .../{0.7 => v1.0.0-rc.6}/docs/explanations/context.mdx | 0 .../docs/explanations/how-accounts-work.md | 0 .../{0.7 => v1.0.0-rc.6}/docs/explanations/proxies.mdx | 0 .../docs/how-tos/deposit-to-a-chain.mdx | 0 .../docs/how-tos/schema-tool/access.mdx | 0 .../docs/how-tos/schema-tool/call.mdx | 0 .../docs/how-tos/schema-tool/events.mdx | 0 .../docs/how-tos/schema-tool/funcdesc.mdx | 0 .../docs/how-tos/schema-tool/funcs.mdx | 0 .../docs/how-tos/schema-tool/init.mdx | 0 .../docs/how-tos/schema-tool/introduction.mdx | 0 .../docs/how-tos/schema-tool/params.mdx | 0 .../docs/how-tos/schema-tool/post.mdx | 0 .../docs/how-tos/schema-tool/results.mdx | 0 .../docs/how-tos/schema-tool/spec.mdx | 0 .../docs/how-tos/schema-tool/state.mdx | 0 .../docs/how-tos/schema-tool/structs.mdx | 0 .../docs/how-tos/schema-tool/thunks.mdx | 0 .../docs/how-tos/schema-tool/transfers.mdx | 0 .../docs/how-tos/schema-tool/typedefs.mdx | 0 .../docs/how-tos/schema-tool/usage.mdx | 0 .../docs/how-tos/schema-tool/views.mdx | 0 .../docs/how-tos/schema-tool/yaml.mdx | 0 .../docs/how-tos/solo/deploying-sc.md | 0 .../docs/how-tos/solo/error-handling.md | 0 .../{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/examples.mdx | 0 .../docs/how-tos/solo/first-example.md | 0 .../{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/invoking-sc.md | 0 .../{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/test.mdx | 0 .../docs/how-tos/solo/the-l1-ledger.md | 0 .../docs/how-tos/solo/the-l2-ledger.md | 0 .../{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/timelock.mdx | 0 .../{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/view-sc.md | 0 .../docs/how-tos/solo/what-is-solo.md | 0 .../docs/how-tos/view-account-balances.mdx | 0 .../docs/how-tos/withdraw-from-a-chain.mdx | 0 .../wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/introduction.mdx | 0 .../docs/reference/core-contracts/accounts.md | 0 .../docs/reference/core-contracts/blob.md | 0 .../docs/reference/core-contracts/blocklog.md | 0 .../docs/reference/core-contracts/errors.md | 0 .../docs/reference/core-contracts/evm.md | 0 .../docs/reference/core-contracts/governance.md | 0 .../docs/reference/core-contracts/overview.md | 0 .../docs/reference/core-contracts/root.md | 0 .../docs/reference/core-contracts/xfer.md | 0 .../docs/reference/data-types/types.mdx | 0 docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/testnet.md | 0 docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/sidebars.js | 0 .../wasp/{0.7 => v1.0.0-rc.6}/docs/configuration.md | 0 docs/maintain/wasp/{0.7 => v1.0.0-rc.6}/docs/metrics.md | 0 .../wasp/{0.7 => v1.0.0-rc.6}/docs/running-a-node.md | 0 docs/maintain/wasp/{0.7 => v1.0.0-rc.6}/sidebars.js | 0 versionedConfig.js | 8 ++++---- 85 files changed, 4 insertions(+), 4 deletions(-) rename docs/build/wasp-cli/{0.7 => v1.0.0-rc.6}/docs/how-tos/chain-management.md (100%) rename docs/build/wasp-cli/{0.7 => v1.0.0-rc.6}/docs/how-tos/setting-up-a-chain.md (100%) rename docs/build/wasp-cli/{0.7 => v1.0.0-rc.6}/docs/how-tos/wasp-cli.md (100%) rename docs/build/wasp-cli/{0.7 => v1.0.0-rc.6}/sidebars.js (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/explanations/how-accounts-work.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/getting-started/compatibility.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/getting-started/compatible-tools.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/getting-started/quickstart.mdx (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/ERC20.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/ERC721.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/create-a-basic-contract.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/deposit-to-a-chain.mdx (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/magic-contract/call-a-function.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/magic-contract/call-a-native-contract.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/magic-contract/magic.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/magic-contract/send-tokens-to-l1.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/using.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/view-account-balances.mdx (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/how-tos/withdraw-from-a-chain.mdx (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/introduction.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/accounts.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/blob.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/blocklog.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/errors.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/evm.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/governance.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/overview.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/root.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/xfer.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/docs/reference/magic-contract.md (100%) rename docs/build/wasp-evm/{0.7 => v1.0.0-rc.6}/sidebars.js (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/explanations/context.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/explanations/how-accounts-work.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/explanations/proxies.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/deposit-to-a-chain.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/access.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/call.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/events.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/funcdesc.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/funcs.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/init.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/introduction.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/params.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/post.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/results.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/spec.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/state.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/structs.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/thunks.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/transfers.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/typedefs.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/usage.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/views.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/schema-tool/yaml.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/deploying-sc.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/error-handling.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/examples.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/first-example.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/invoking-sc.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/test.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/the-l1-ledger.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/the-l2-ledger.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/timelock.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/view-sc.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/solo/what-is-solo.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/view-account-balances.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/how-tos/withdraw-from-a-chain.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/introduction.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/accounts.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/blob.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/blocklog.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/errors.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/evm.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/governance.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/overview.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/root.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/reference/core-contracts/xfer.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/reference/data-types/types.mdx (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/docs/testnet.md (100%) rename docs/build/wasp-wasm/{0.7 => v1.0.0-rc.6}/sidebars.js (100%) rename docs/maintain/wasp/{0.7 => v1.0.0-rc.6}/docs/configuration.md (100%) rename docs/maintain/wasp/{0.7 => v1.0.0-rc.6}/docs/metrics.md (100%) rename docs/maintain/wasp/{0.7 => v1.0.0-rc.6}/docs/running-a-node.md (100%) rename docs/maintain/wasp/{0.7 => v1.0.0-rc.6}/sidebars.js (100%) diff --git a/docs/build/wasp-cli/0.7/docs/how-tos/chain-management.md b/docs/build/wasp-cli/v1.0.0-rc.6/docs/how-tos/chain-management.md similarity index 100% rename from docs/build/wasp-cli/0.7/docs/how-tos/chain-management.md rename to docs/build/wasp-cli/v1.0.0-rc.6/docs/how-tos/chain-management.md diff --git a/docs/build/wasp-cli/0.7/docs/how-tos/setting-up-a-chain.md b/docs/build/wasp-cli/v1.0.0-rc.6/docs/how-tos/setting-up-a-chain.md similarity index 100% rename from docs/build/wasp-cli/0.7/docs/how-tos/setting-up-a-chain.md rename to docs/build/wasp-cli/v1.0.0-rc.6/docs/how-tos/setting-up-a-chain.md diff --git a/docs/build/wasp-cli/0.7/docs/how-tos/wasp-cli.md b/docs/build/wasp-cli/v1.0.0-rc.6/docs/how-tos/wasp-cli.md similarity index 100% rename from docs/build/wasp-cli/0.7/docs/how-tos/wasp-cli.md rename to docs/build/wasp-cli/v1.0.0-rc.6/docs/how-tos/wasp-cli.md diff --git a/docs/build/wasp-cli/0.7/sidebars.js b/docs/build/wasp-cli/v1.0.0-rc.6/sidebars.js similarity index 100% rename from docs/build/wasp-cli/0.7/sidebars.js rename to docs/build/wasp-cli/v1.0.0-rc.6/sidebars.js diff --git a/docs/build/wasp-evm/0.7/docs/explanations/how-accounts-work.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/explanations/how-accounts-work.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/explanations/how-accounts-work.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/explanations/how-accounts-work.md diff --git a/docs/build/wasp-evm/0.7/docs/getting-started/compatibility.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/getting-started/compatibility.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/getting-started/compatibility.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/getting-started/compatibility.md diff --git a/docs/build/wasp-evm/0.7/docs/getting-started/compatible-tools.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/getting-started/compatible-tools.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/getting-started/compatible-tools.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/getting-started/compatible-tools.md diff --git a/docs/build/wasp-evm/0.7/docs/getting-started/quickstart.mdx b/docs/build/wasp-evm/v1.0.0-rc.6/docs/getting-started/quickstart.mdx similarity index 100% rename from docs/build/wasp-evm/0.7/docs/getting-started/quickstart.mdx rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/getting-started/quickstart.mdx diff --git a/docs/build/wasp-evm/0.7/docs/how-tos/ERC20.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/ERC20.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/how-tos/ERC20.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/ERC20.md diff --git a/docs/build/wasp-evm/0.7/docs/how-tos/ERC721.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/ERC721.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/how-tos/ERC721.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/ERC721.md diff --git a/docs/build/wasp-evm/0.7/docs/how-tos/create-a-basic-contract.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/create-a-basic-contract.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/how-tos/create-a-basic-contract.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/create-a-basic-contract.md diff --git a/docs/build/wasp-evm/0.7/docs/how-tos/deposit-to-a-chain.mdx b/docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/deposit-to-a-chain.mdx similarity index 100% rename from docs/build/wasp-evm/0.7/docs/how-tos/deposit-to-a-chain.mdx rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/deposit-to-a-chain.mdx diff --git a/docs/build/wasp-evm/0.7/docs/how-tos/magic-contract/call-a-function.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/magic-contract/call-a-function.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/how-tos/magic-contract/call-a-function.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/magic-contract/call-a-function.md diff --git a/docs/build/wasp-evm/0.7/docs/how-tos/magic-contract/call-a-native-contract.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/magic-contract/call-a-native-contract.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/how-tos/magic-contract/call-a-native-contract.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/magic-contract/call-a-native-contract.md diff --git a/docs/build/wasp-evm/0.7/docs/how-tos/magic-contract/magic.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/magic-contract/magic.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/how-tos/magic-contract/magic.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/magic-contract/magic.md diff --git a/docs/build/wasp-evm/0.7/docs/how-tos/magic-contract/send-tokens-to-l1.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/magic-contract/send-tokens-to-l1.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/how-tos/magic-contract/send-tokens-to-l1.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/magic-contract/send-tokens-to-l1.md diff --git a/docs/build/wasp-evm/0.7/docs/how-tos/using.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/using.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/how-tos/using.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/using.md diff --git a/docs/build/wasp-evm/0.7/docs/how-tos/view-account-balances.mdx b/docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/view-account-balances.mdx similarity index 100% rename from docs/build/wasp-evm/0.7/docs/how-tos/view-account-balances.mdx rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/view-account-balances.mdx diff --git a/docs/build/wasp-evm/0.7/docs/how-tos/withdraw-from-a-chain.mdx b/docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/withdraw-from-a-chain.mdx similarity index 100% rename from docs/build/wasp-evm/0.7/docs/how-tos/withdraw-from-a-chain.mdx rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/how-tos/withdraw-from-a-chain.mdx diff --git a/docs/build/wasp-evm/0.7/docs/introduction.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/introduction.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/introduction.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/introduction.md diff --git a/docs/build/wasp-evm/0.7/docs/reference/core-contracts/accounts.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/accounts.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/reference/core-contracts/accounts.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/accounts.md diff --git a/docs/build/wasp-evm/0.7/docs/reference/core-contracts/blob.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/blob.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/reference/core-contracts/blob.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/blob.md diff --git a/docs/build/wasp-evm/0.7/docs/reference/core-contracts/blocklog.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/blocklog.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/reference/core-contracts/blocklog.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/blocklog.md diff --git a/docs/build/wasp-evm/0.7/docs/reference/core-contracts/errors.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/errors.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/reference/core-contracts/errors.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/errors.md diff --git a/docs/build/wasp-evm/0.7/docs/reference/core-contracts/evm.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/evm.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/reference/core-contracts/evm.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/evm.md diff --git a/docs/build/wasp-evm/0.7/docs/reference/core-contracts/governance.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/governance.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/reference/core-contracts/governance.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/governance.md diff --git a/docs/build/wasp-evm/0.7/docs/reference/core-contracts/overview.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/overview.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/reference/core-contracts/overview.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/overview.md diff --git a/docs/build/wasp-evm/0.7/docs/reference/core-contracts/root.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/root.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/reference/core-contracts/root.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/root.md diff --git a/docs/build/wasp-evm/0.7/docs/reference/core-contracts/xfer.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/xfer.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/reference/core-contracts/xfer.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/core-contracts/xfer.md diff --git a/docs/build/wasp-evm/0.7/docs/reference/magic-contract.md b/docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/magic-contract.md similarity index 100% rename from docs/build/wasp-evm/0.7/docs/reference/magic-contract.md rename to docs/build/wasp-evm/v1.0.0-rc.6/docs/reference/magic-contract.md diff --git a/docs/build/wasp-evm/0.7/sidebars.js b/docs/build/wasp-evm/v1.0.0-rc.6/sidebars.js similarity index 100% rename from docs/build/wasp-evm/0.7/sidebars.js rename to docs/build/wasp-evm/v1.0.0-rc.6/sidebars.js diff --git a/docs/build/wasp-wasm/0.7/docs/explanations/context.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/explanations/context.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/explanations/context.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/explanations/context.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/explanations/how-accounts-work.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/explanations/how-accounts-work.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/explanations/how-accounts-work.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/explanations/how-accounts-work.md diff --git a/docs/build/wasp-wasm/0.7/docs/explanations/proxies.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/explanations/proxies.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/explanations/proxies.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/explanations/proxies.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/deposit-to-a-chain.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/deposit-to-a-chain.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/deposit-to-a-chain.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/deposit-to-a-chain.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/access.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/access.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/access.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/access.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/call.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/call.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/call.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/call.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/events.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/events.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/events.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/events.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/funcdesc.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/funcdesc.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/funcdesc.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/funcdesc.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/funcs.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/funcs.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/funcs.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/funcs.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/init.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/init.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/init.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/init.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/introduction.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/introduction.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/introduction.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/introduction.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/params.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/params.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/params.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/params.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/post.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/post.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/post.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/post.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/results.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/results.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/results.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/results.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/spec.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/spec.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/spec.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/spec.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/state.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/state.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/state.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/state.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/structs.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/structs.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/structs.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/structs.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/thunks.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/thunks.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/thunks.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/thunks.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/transfers.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/transfers.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/transfers.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/transfers.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/typedefs.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/typedefs.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/typedefs.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/typedefs.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/usage.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/usage.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/usage.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/usage.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/views.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/views.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/views.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/views.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/yaml.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/yaml.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/schema-tool/yaml.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/schema-tool/yaml.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/solo/deploying-sc.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/deploying-sc.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/solo/deploying-sc.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/deploying-sc.md diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/solo/error-handling.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/error-handling.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/solo/error-handling.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/error-handling.md diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/solo/examples.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/examples.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/solo/examples.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/examples.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/solo/first-example.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/first-example.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/solo/first-example.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/first-example.md diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/solo/invoking-sc.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/invoking-sc.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/solo/invoking-sc.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/invoking-sc.md diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/solo/test.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/test.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/solo/test.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/test.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/solo/the-l1-ledger.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/the-l1-ledger.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/solo/the-l1-ledger.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/the-l1-ledger.md diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/solo/the-l2-ledger.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/the-l2-ledger.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/solo/the-l2-ledger.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/the-l2-ledger.md diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/solo/timelock.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/timelock.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/solo/timelock.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/timelock.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/solo/view-sc.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/view-sc.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/solo/view-sc.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/view-sc.md diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/solo/what-is-solo.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/what-is-solo.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/solo/what-is-solo.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/solo/what-is-solo.md diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/view-account-balances.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/view-account-balances.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/view-account-balances.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/view-account-balances.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/how-tos/withdraw-from-a-chain.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/withdraw-from-a-chain.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/how-tos/withdraw-from-a-chain.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/how-tos/withdraw-from-a-chain.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/introduction.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/introduction.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/introduction.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/introduction.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/reference/core-contracts/accounts.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/accounts.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/reference/core-contracts/accounts.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/accounts.md diff --git a/docs/build/wasp-wasm/0.7/docs/reference/core-contracts/blob.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/blob.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/reference/core-contracts/blob.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/blob.md diff --git a/docs/build/wasp-wasm/0.7/docs/reference/core-contracts/blocklog.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/blocklog.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/reference/core-contracts/blocklog.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/blocklog.md diff --git a/docs/build/wasp-wasm/0.7/docs/reference/core-contracts/errors.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/errors.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/reference/core-contracts/errors.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/errors.md diff --git a/docs/build/wasp-wasm/0.7/docs/reference/core-contracts/evm.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/evm.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/reference/core-contracts/evm.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/evm.md diff --git a/docs/build/wasp-wasm/0.7/docs/reference/core-contracts/governance.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/governance.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/reference/core-contracts/governance.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/governance.md diff --git a/docs/build/wasp-wasm/0.7/docs/reference/core-contracts/overview.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/overview.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/reference/core-contracts/overview.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/overview.md diff --git a/docs/build/wasp-wasm/0.7/docs/reference/core-contracts/root.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/root.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/reference/core-contracts/root.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/root.md diff --git a/docs/build/wasp-wasm/0.7/docs/reference/core-contracts/xfer.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/xfer.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/reference/core-contracts/xfer.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/core-contracts/xfer.md diff --git a/docs/build/wasp-wasm/0.7/docs/reference/data-types/types.mdx b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/data-types/types.mdx similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/reference/data-types/types.mdx rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/reference/data-types/types.mdx diff --git a/docs/build/wasp-wasm/0.7/docs/testnet.md b/docs/build/wasp-wasm/v1.0.0-rc.6/docs/testnet.md similarity index 100% rename from docs/build/wasp-wasm/0.7/docs/testnet.md rename to docs/build/wasp-wasm/v1.0.0-rc.6/docs/testnet.md diff --git a/docs/build/wasp-wasm/0.7/sidebars.js b/docs/build/wasp-wasm/v1.0.0-rc.6/sidebars.js similarity index 100% rename from docs/build/wasp-wasm/0.7/sidebars.js rename to docs/build/wasp-wasm/v1.0.0-rc.6/sidebars.js diff --git a/docs/maintain/wasp/0.7/docs/configuration.md b/docs/maintain/wasp/v1.0.0-rc.6/docs/configuration.md similarity index 100% rename from docs/maintain/wasp/0.7/docs/configuration.md rename to docs/maintain/wasp/v1.0.0-rc.6/docs/configuration.md diff --git a/docs/maintain/wasp/0.7/docs/metrics.md b/docs/maintain/wasp/v1.0.0-rc.6/docs/metrics.md similarity index 100% rename from docs/maintain/wasp/0.7/docs/metrics.md rename to docs/maintain/wasp/v1.0.0-rc.6/docs/metrics.md diff --git a/docs/maintain/wasp/0.7/docs/running-a-node.md b/docs/maintain/wasp/v1.0.0-rc.6/docs/running-a-node.md similarity index 100% rename from docs/maintain/wasp/0.7/docs/running-a-node.md rename to docs/maintain/wasp/v1.0.0-rc.6/docs/running-a-node.md diff --git a/docs/maintain/wasp/0.7/sidebars.js b/docs/maintain/wasp/v1.0.0-rc.6/sidebars.js similarity index 100% rename from docs/maintain/wasp/0.7/sidebars.js rename to docs/maintain/wasp/v1.0.0-rc.6/sidebars.js diff --git a/versionedConfig.js b/versionedConfig.js index e94036923b4..cd4441fa346 100644 --- a/versionedConfig.js +++ b/versionedConfig.js @@ -29,7 +29,7 @@ exports.buildPluginsConfig = [ subsection: 'build-layer-2', versions: [ { - label: '0.7', + label: 'v1.0.0-rc.6', badges: ['Shimmer'], }, ], @@ -42,7 +42,7 @@ exports.buildPluginsConfig = [ subsection: 'build-layer-2', versions: [ { - label: '0.7', + label: 'v1.0.0-rc.6', badges: ['Shimmer'], }, ], @@ -55,7 +55,7 @@ exports.buildPluginsConfig = [ subsection: 'build-layer-2', versions: [ { - label: '0.7', + label: 'v1.0.0-rc.6', badges: ['Shimmer'], }, ], @@ -231,7 +231,7 @@ exports.maintainPluginsConfig = [ subsection: 'maintain-layer-2', versions: [ { - label: '0.7', + label: 'v1.0.0-rc.6', badges: ['Shimmer'], }, ], From 0994a3b6331ad05ad55e4fd943506441736f09ac Mon Sep 17 00:00:00 2001 From: Dr-Electron Date: Thu, 19 Oct 2023 17:18:37 +0200 Subject: [PATCH 5/6] Fix version redirects --- src/utils/pluginConfigGenerators.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/utils/pluginConfigGenerators.js b/src/utils/pluginConfigGenerators.js index 8cfd579ccb9..56d753f94aa 100644 --- a/src/utils/pluginConfigGenerators.js +++ b/src/utils/pluginConfigGenerators.js @@ -71,11 +71,13 @@ function createVersionRedirects(versionedConfig) { const routeBasePath = doc.routeBasePath ? doc.routeBasePath : doc.id; if (mainVersion) { - // Redirect deep version link to route base path - redirects.push({ - from: '/' + routeBasePath + '/' + mainVersion.label, - to: '/' + routeBasePath, - }); + if (doc.versions.length > 1) { + // Redirect deep version link to route base path + redirects.push({ + from: '/' + routeBasePath + '/' + mainVersion.label, + to: '/' + routeBasePath, + }); + } // Redirect to main IOTA version redirects.push({ From 22ecd704e93ad06ed1d4e4287acb1d5cc7bba14e Mon Sep 17 00:00:00 2001 From: Dr-Electron Date: Thu, 19 Oct 2023 17:19:07 +0200 Subject: [PATCH 6/6] Mark old chronicle version as deprecated --- src/components/HomeLayout/index.tsx | 2 +- versionedConfig.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/HomeLayout/index.tsx b/src/components/HomeLayout/index.tsx index b42138e0398..a904a9494bc 100644 --- a/src/components/HomeLayout/index.tsx +++ b/src/components/HomeLayout/index.tsx @@ -201,7 +201,7 @@ export default function HomeLayout() { retrieve IOTA messages and data in real time.

Try the permanode framework diff --git a/versionedConfig.js b/versionedConfig.js index cd4441fa346..a8c6ef30103 100644 --- a/versionedConfig.js +++ b/versionedConfig.js @@ -249,7 +249,7 @@ exports.maintainPluginsConfig = [ }, { label: '0.3', - badges: ['IOTA'], + badges: ['Deprecated'], }, ], },