From 62250d8a7bd716ae0bce729297531af0029acb9f Mon Sep 17 00:00:00 2001 From: Maciej Jastrzebski Date: Tue, 14 Jan 2025 12:30:21 +0100 Subject: [PATCH 1/2] docs: v13 is default --- README.md | 3 +-- website/docs/{13.x-next => 13.x}/_meta.json | 0 website/docs/{13.x-next => 13.x}/cookbook/_meta.json | 0 website/docs/{13.x-next => 13.x}/cookbook/advanced/_meta.json | 0 .../{13.x-next => 13.x}/cookbook/advanced/network-requests.md | 0 website/docs/{13.x-next => 13.x}/cookbook/basics/_meta.json | 0 .../docs/{13.x-next => 13.x}/cookbook/basics/async-tests.md | 0 .../docs/{13.x-next => 13.x}/cookbook/basics/custom-render.md | 0 website/docs/{13.x-next => 13.x}/cookbook/index.md | 0 .../{13.x-next => 13.x}/cookbook/state-management/_meta.json | 0 .../{13.x-next => 13.x}/cookbook/state-management/jotai.md | 0 website/docs/{13.x-next => 13.x}/docs/_meta.json | 0 website/docs/{13.x-next => 13.x}/docs/advanced/_meta.json | 0 .../docs/{13.x-next => 13.x}/docs/advanced/testing-env.mdx | 0 .../{13.x-next => 13.x}/docs/advanced/understanding-act.mdx | 0 website/docs/{13.x-next => 13.x}/docs/api.md | 0 website/docs/{13.x-next => 13.x}/docs/api/_meta.json | 0 website/docs/{13.x-next => 13.x}/docs/api/events/_meta.json | 0 .../docs/{13.x-next => 13.x}/docs/api/events/fire-event.mdx | 0 .../docs/{13.x-next => 13.x}/docs/api/events/user-event.mdx | 0 website/docs/{13.x-next => 13.x}/docs/api/jest-matchers.mdx | 0 website/docs/{13.x-next => 13.x}/docs/api/misc/_meta.json | 0 .../docs/{13.x-next => 13.x}/docs/api/misc/accessibility.mdx | 0 website/docs/{13.x-next => 13.x}/docs/api/misc/async.mdx | 0 website/docs/{13.x-next => 13.x}/docs/api/misc/config.mdx | 0 website/docs/{13.x-next => 13.x}/docs/api/misc/other.mdx | 0 .../docs/{13.x-next => 13.x}/docs/api/misc/render-hook.mdx | 0 website/docs/{13.x-next => 13.x}/docs/api/queries.mdx | 0 website/docs/{13.x-next => 13.x}/docs/api/render.mdx | 0 website/docs/{13.x-next => 13.x}/docs/api/screen.mdx | 0 website/docs/{13.x-next => 13.x}/docs/guides/_meta.json | 0 .../{13.x-next => 13.x}/docs/guides/community-resources.mdx | 0 website/docs/{13.x-next => 13.x}/docs/guides/faq.mdx | 0 website/docs/{13.x-next => 13.x}/docs/guides/how-to-query.mdx | 0 .../docs/{13.x-next => 13.x}/docs/guides/troubleshooting.mdx | 0 website/docs/{13.x-next => 13.x}/docs/migration/_meta.json | 0 .../{13.x-next => 13.x}/docs/migration/previous/_meta.json | 0 .../docs/migration/previous/jest-matchers.mdx | 0 .../docs/{13.x-next => 13.x}/docs/migration/previous/v11.mdx | 0 .../docs/{13.x-next => 13.x}/docs/migration/previous/v12.mdx | 0 .../docs/{13.x-next => 13.x}/docs/migration/previous/v2.mdx | 0 .../docs/{13.x-next => 13.x}/docs/migration/previous/v7.mdx | 0 .../docs/{13.x-next => 13.x}/docs/migration/previous/v9.mdx | 0 website/docs/{13.x-next => 13.x}/docs/migration/v13.mdx | 0 website/docs/{13.x-next => 13.x}/docs/start/_meta.json | 0 website/docs/{13.x-next => 13.x}/docs/start/intro.md | 0 website/docs/{13.x-next => 13.x}/docs/start/quick-start.mdx | 0 website/docs/{13.x-next => 13.x}/index.md | 0 website/rspress.config.ts | 4 ++-- 49 files changed, 3 insertions(+), 4 deletions(-) rename website/docs/{13.x-next => 13.x}/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/cookbook/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/cookbook/advanced/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/cookbook/advanced/network-requests.md (100%) rename website/docs/{13.x-next => 13.x}/cookbook/basics/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/cookbook/basics/async-tests.md (100%) rename website/docs/{13.x-next => 13.x}/cookbook/basics/custom-render.md (100%) rename website/docs/{13.x-next => 13.x}/cookbook/index.md (100%) rename website/docs/{13.x-next => 13.x}/cookbook/state-management/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/cookbook/state-management/jotai.md (100%) rename website/docs/{13.x-next => 13.x}/docs/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/docs/advanced/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/docs/advanced/testing-env.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/advanced/understanding-act.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/api.md (100%) rename website/docs/{13.x-next => 13.x}/docs/api/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/docs/api/events/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/docs/api/events/fire-event.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/api/events/user-event.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/api/jest-matchers.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/api/misc/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/docs/api/misc/accessibility.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/api/misc/async.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/api/misc/config.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/api/misc/other.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/api/misc/render-hook.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/api/queries.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/api/render.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/api/screen.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/guides/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/docs/guides/community-resources.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/guides/faq.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/guides/how-to-query.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/guides/troubleshooting.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/migration/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/docs/migration/previous/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/docs/migration/previous/jest-matchers.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/migration/previous/v11.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/migration/previous/v12.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/migration/previous/v2.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/migration/previous/v7.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/migration/previous/v9.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/migration/v13.mdx (100%) rename website/docs/{13.x-next => 13.x}/docs/start/_meta.json (100%) rename website/docs/{13.x-next => 13.x}/docs/start/intro.md (100%) rename website/docs/{13.x-next => 13.x}/docs/start/quick-start.mdx (100%) rename website/docs/{13.x-next => 13.x}/index.md (100%) diff --git a/README.md b/README.md index 73a2bf572..aceea97bf 100644 --- a/README.md +++ b/README.md @@ -102,8 +102,7 @@ React Native Testing Library consists of following APIs: ## Migration Guides -- [Migration to 13.0 (RC)](https://callstack.github.io/react-native-testing-library/13.x-next/docs/migration/v13) -- [Migration to 12.0](https://callstack.github.io/react-native-testing-library/docs/migration/v12) +- [Migration to 13.0](https://callstack.github.io/react-native-testing-library/docs/migration/v13) - [Migration to built-in Jest Matchers](https://callstack.github.io/react-native-testing-library/docs/migration/jest-matchers) ## Troubleshooting diff --git a/website/docs/13.x-next/_meta.json b/website/docs/13.x/_meta.json similarity index 100% rename from website/docs/13.x-next/_meta.json rename to website/docs/13.x/_meta.json diff --git a/website/docs/13.x-next/cookbook/_meta.json b/website/docs/13.x/cookbook/_meta.json similarity index 100% rename from website/docs/13.x-next/cookbook/_meta.json rename to website/docs/13.x/cookbook/_meta.json diff --git a/website/docs/13.x-next/cookbook/advanced/_meta.json b/website/docs/13.x/cookbook/advanced/_meta.json similarity index 100% rename from website/docs/13.x-next/cookbook/advanced/_meta.json rename to website/docs/13.x/cookbook/advanced/_meta.json diff --git a/website/docs/13.x-next/cookbook/advanced/network-requests.md b/website/docs/13.x/cookbook/advanced/network-requests.md similarity index 100% rename from website/docs/13.x-next/cookbook/advanced/network-requests.md rename to website/docs/13.x/cookbook/advanced/network-requests.md diff --git a/website/docs/13.x-next/cookbook/basics/_meta.json b/website/docs/13.x/cookbook/basics/_meta.json similarity index 100% rename from website/docs/13.x-next/cookbook/basics/_meta.json rename to website/docs/13.x/cookbook/basics/_meta.json diff --git a/website/docs/13.x-next/cookbook/basics/async-tests.md b/website/docs/13.x/cookbook/basics/async-tests.md similarity index 100% rename from website/docs/13.x-next/cookbook/basics/async-tests.md rename to website/docs/13.x/cookbook/basics/async-tests.md diff --git a/website/docs/13.x-next/cookbook/basics/custom-render.md b/website/docs/13.x/cookbook/basics/custom-render.md similarity index 100% rename from website/docs/13.x-next/cookbook/basics/custom-render.md rename to website/docs/13.x/cookbook/basics/custom-render.md diff --git a/website/docs/13.x-next/cookbook/index.md b/website/docs/13.x/cookbook/index.md similarity index 100% rename from website/docs/13.x-next/cookbook/index.md rename to website/docs/13.x/cookbook/index.md diff --git a/website/docs/13.x-next/cookbook/state-management/_meta.json b/website/docs/13.x/cookbook/state-management/_meta.json similarity index 100% rename from website/docs/13.x-next/cookbook/state-management/_meta.json rename to website/docs/13.x/cookbook/state-management/_meta.json diff --git a/website/docs/13.x-next/cookbook/state-management/jotai.md b/website/docs/13.x/cookbook/state-management/jotai.md similarity index 100% rename from website/docs/13.x-next/cookbook/state-management/jotai.md rename to website/docs/13.x/cookbook/state-management/jotai.md diff --git a/website/docs/13.x-next/docs/_meta.json b/website/docs/13.x/docs/_meta.json similarity index 100% rename from website/docs/13.x-next/docs/_meta.json rename to website/docs/13.x/docs/_meta.json diff --git a/website/docs/13.x-next/docs/advanced/_meta.json b/website/docs/13.x/docs/advanced/_meta.json similarity index 100% rename from website/docs/13.x-next/docs/advanced/_meta.json rename to website/docs/13.x/docs/advanced/_meta.json diff --git a/website/docs/13.x-next/docs/advanced/testing-env.mdx b/website/docs/13.x/docs/advanced/testing-env.mdx similarity index 100% rename from website/docs/13.x-next/docs/advanced/testing-env.mdx rename to website/docs/13.x/docs/advanced/testing-env.mdx diff --git a/website/docs/13.x-next/docs/advanced/understanding-act.mdx b/website/docs/13.x/docs/advanced/understanding-act.mdx similarity index 100% rename from website/docs/13.x-next/docs/advanced/understanding-act.mdx rename to website/docs/13.x/docs/advanced/understanding-act.mdx diff --git a/website/docs/13.x-next/docs/api.md b/website/docs/13.x/docs/api.md similarity index 100% rename from website/docs/13.x-next/docs/api.md rename to website/docs/13.x/docs/api.md diff --git a/website/docs/13.x-next/docs/api/_meta.json b/website/docs/13.x/docs/api/_meta.json similarity index 100% rename from website/docs/13.x-next/docs/api/_meta.json rename to website/docs/13.x/docs/api/_meta.json diff --git a/website/docs/13.x-next/docs/api/events/_meta.json b/website/docs/13.x/docs/api/events/_meta.json similarity index 100% rename from website/docs/13.x-next/docs/api/events/_meta.json rename to website/docs/13.x/docs/api/events/_meta.json diff --git a/website/docs/13.x-next/docs/api/events/fire-event.mdx b/website/docs/13.x/docs/api/events/fire-event.mdx similarity index 100% rename from website/docs/13.x-next/docs/api/events/fire-event.mdx rename to website/docs/13.x/docs/api/events/fire-event.mdx diff --git a/website/docs/13.x-next/docs/api/events/user-event.mdx b/website/docs/13.x/docs/api/events/user-event.mdx similarity index 100% rename from website/docs/13.x-next/docs/api/events/user-event.mdx rename to website/docs/13.x/docs/api/events/user-event.mdx diff --git a/website/docs/13.x-next/docs/api/jest-matchers.mdx b/website/docs/13.x/docs/api/jest-matchers.mdx similarity index 100% rename from website/docs/13.x-next/docs/api/jest-matchers.mdx rename to website/docs/13.x/docs/api/jest-matchers.mdx diff --git a/website/docs/13.x-next/docs/api/misc/_meta.json b/website/docs/13.x/docs/api/misc/_meta.json similarity index 100% rename from website/docs/13.x-next/docs/api/misc/_meta.json rename to website/docs/13.x/docs/api/misc/_meta.json diff --git a/website/docs/13.x-next/docs/api/misc/accessibility.mdx b/website/docs/13.x/docs/api/misc/accessibility.mdx similarity index 100% rename from website/docs/13.x-next/docs/api/misc/accessibility.mdx rename to website/docs/13.x/docs/api/misc/accessibility.mdx diff --git a/website/docs/13.x-next/docs/api/misc/async.mdx b/website/docs/13.x/docs/api/misc/async.mdx similarity index 100% rename from website/docs/13.x-next/docs/api/misc/async.mdx rename to website/docs/13.x/docs/api/misc/async.mdx diff --git a/website/docs/13.x-next/docs/api/misc/config.mdx b/website/docs/13.x/docs/api/misc/config.mdx similarity index 100% rename from website/docs/13.x-next/docs/api/misc/config.mdx rename to website/docs/13.x/docs/api/misc/config.mdx diff --git a/website/docs/13.x-next/docs/api/misc/other.mdx b/website/docs/13.x/docs/api/misc/other.mdx similarity index 100% rename from website/docs/13.x-next/docs/api/misc/other.mdx rename to website/docs/13.x/docs/api/misc/other.mdx diff --git a/website/docs/13.x-next/docs/api/misc/render-hook.mdx b/website/docs/13.x/docs/api/misc/render-hook.mdx similarity index 100% rename from website/docs/13.x-next/docs/api/misc/render-hook.mdx rename to website/docs/13.x/docs/api/misc/render-hook.mdx diff --git a/website/docs/13.x-next/docs/api/queries.mdx b/website/docs/13.x/docs/api/queries.mdx similarity index 100% rename from website/docs/13.x-next/docs/api/queries.mdx rename to website/docs/13.x/docs/api/queries.mdx diff --git a/website/docs/13.x-next/docs/api/render.mdx b/website/docs/13.x/docs/api/render.mdx similarity index 100% rename from website/docs/13.x-next/docs/api/render.mdx rename to website/docs/13.x/docs/api/render.mdx diff --git a/website/docs/13.x-next/docs/api/screen.mdx b/website/docs/13.x/docs/api/screen.mdx similarity index 100% rename from website/docs/13.x-next/docs/api/screen.mdx rename to website/docs/13.x/docs/api/screen.mdx diff --git a/website/docs/13.x-next/docs/guides/_meta.json b/website/docs/13.x/docs/guides/_meta.json similarity index 100% rename from website/docs/13.x-next/docs/guides/_meta.json rename to website/docs/13.x/docs/guides/_meta.json diff --git a/website/docs/13.x-next/docs/guides/community-resources.mdx b/website/docs/13.x/docs/guides/community-resources.mdx similarity index 100% rename from website/docs/13.x-next/docs/guides/community-resources.mdx rename to website/docs/13.x/docs/guides/community-resources.mdx diff --git a/website/docs/13.x-next/docs/guides/faq.mdx b/website/docs/13.x/docs/guides/faq.mdx similarity index 100% rename from website/docs/13.x-next/docs/guides/faq.mdx rename to website/docs/13.x/docs/guides/faq.mdx diff --git a/website/docs/13.x-next/docs/guides/how-to-query.mdx b/website/docs/13.x/docs/guides/how-to-query.mdx similarity index 100% rename from website/docs/13.x-next/docs/guides/how-to-query.mdx rename to website/docs/13.x/docs/guides/how-to-query.mdx diff --git a/website/docs/13.x-next/docs/guides/troubleshooting.mdx b/website/docs/13.x/docs/guides/troubleshooting.mdx similarity index 100% rename from website/docs/13.x-next/docs/guides/troubleshooting.mdx rename to website/docs/13.x/docs/guides/troubleshooting.mdx diff --git a/website/docs/13.x-next/docs/migration/_meta.json b/website/docs/13.x/docs/migration/_meta.json similarity index 100% rename from website/docs/13.x-next/docs/migration/_meta.json rename to website/docs/13.x/docs/migration/_meta.json diff --git a/website/docs/13.x-next/docs/migration/previous/_meta.json b/website/docs/13.x/docs/migration/previous/_meta.json similarity index 100% rename from website/docs/13.x-next/docs/migration/previous/_meta.json rename to website/docs/13.x/docs/migration/previous/_meta.json diff --git a/website/docs/13.x-next/docs/migration/previous/jest-matchers.mdx b/website/docs/13.x/docs/migration/previous/jest-matchers.mdx similarity index 100% rename from website/docs/13.x-next/docs/migration/previous/jest-matchers.mdx rename to website/docs/13.x/docs/migration/previous/jest-matchers.mdx diff --git a/website/docs/13.x-next/docs/migration/previous/v11.mdx b/website/docs/13.x/docs/migration/previous/v11.mdx similarity index 100% rename from website/docs/13.x-next/docs/migration/previous/v11.mdx rename to website/docs/13.x/docs/migration/previous/v11.mdx diff --git a/website/docs/13.x-next/docs/migration/previous/v12.mdx b/website/docs/13.x/docs/migration/previous/v12.mdx similarity index 100% rename from website/docs/13.x-next/docs/migration/previous/v12.mdx rename to website/docs/13.x/docs/migration/previous/v12.mdx diff --git a/website/docs/13.x-next/docs/migration/previous/v2.mdx b/website/docs/13.x/docs/migration/previous/v2.mdx similarity index 100% rename from website/docs/13.x-next/docs/migration/previous/v2.mdx rename to website/docs/13.x/docs/migration/previous/v2.mdx diff --git a/website/docs/13.x-next/docs/migration/previous/v7.mdx b/website/docs/13.x/docs/migration/previous/v7.mdx similarity index 100% rename from website/docs/13.x-next/docs/migration/previous/v7.mdx rename to website/docs/13.x/docs/migration/previous/v7.mdx diff --git a/website/docs/13.x-next/docs/migration/previous/v9.mdx b/website/docs/13.x/docs/migration/previous/v9.mdx similarity index 100% rename from website/docs/13.x-next/docs/migration/previous/v9.mdx rename to website/docs/13.x/docs/migration/previous/v9.mdx diff --git a/website/docs/13.x-next/docs/migration/v13.mdx b/website/docs/13.x/docs/migration/v13.mdx similarity index 100% rename from website/docs/13.x-next/docs/migration/v13.mdx rename to website/docs/13.x/docs/migration/v13.mdx diff --git a/website/docs/13.x-next/docs/start/_meta.json b/website/docs/13.x/docs/start/_meta.json similarity index 100% rename from website/docs/13.x-next/docs/start/_meta.json rename to website/docs/13.x/docs/start/_meta.json diff --git a/website/docs/13.x-next/docs/start/intro.md b/website/docs/13.x/docs/start/intro.md similarity index 100% rename from website/docs/13.x-next/docs/start/intro.md rename to website/docs/13.x/docs/start/intro.md diff --git a/website/docs/13.x-next/docs/start/quick-start.mdx b/website/docs/13.x/docs/start/quick-start.mdx similarity index 100% rename from website/docs/13.x-next/docs/start/quick-start.mdx rename to website/docs/13.x/docs/start/quick-start.mdx diff --git a/website/docs/13.x-next/index.md b/website/docs/13.x/index.md similarity index 100% rename from website/docs/13.x-next/index.md rename to website/docs/13.x/index.md diff --git a/website/rspress.config.ts b/website/rspress.config.ts index dae1ff197..76b6ce81a 100644 --- a/website/rspress.config.ts +++ b/website/rspress.config.ts @@ -18,8 +18,8 @@ export default defineConfig({ codeHighlighter: 'prism', }, multiVersion: { - default: '12.x', - versions: ['12.x', '13.x-next'], + default: '13.x', + versions: ['12.x', '13.x'], }, route: { cleanUrls: true, From d6d7fb317049c12802419f7d05d61627663b446a Mon Sep 17 00:00:00 2001 From: Maciej Jastrzebski Date: Tue, 14 Jan 2025 12:32:12 +0100 Subject: [PATCH 2/2] . --- website/docs/13.x/docs/migration/{previous => }/jest-matchers.mdx | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename website/docs/13.x/docs/migration/{previous => }/jest-matchers.mdx (100%) diff --git a/website/docs/13.x/docs/migration/previous/jest-matchers.mdx b/website/docs/13.x/docs/migration/jest-matchers.mdx similarity index 100% rename from website/docs/13.x/docs/migration/previous/jest-matchers.mdx rename to website/docs/13.x/docs/migration/jest-matchers.mdx