From a96fc5ea9511afb2380a16657acffdc2c60d9f78 Mon Sep 17 00:00:00 2001 From: soyuka Date: Wed, 17 Sep 2025 15:20:08 +0200 Subject: [PATCH] 4.2 branch --- README.md | 1 + pwa/consts.ts | 5 +++-- pwa/docs-versions.txt | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e17a2e0..6121e762 100644 --- a/README.md +++ b/README.md @@ -102,4 +102,5 @@ pnpm start 1. Create a branch for the new version [in the `api-platform/docs` repository](https://github.com/api-platform/docs). 2. Update the `DEFAULT_BRANCH` environement variable for super-linter in the docs `.github/workflows/ci.yml` 3. Update [`consts.ts`](./pwa/consts.ts) +4. Update [api-platform/docs-website](https://github.com/api-platform/docs-website) (see https://github.com/api-platform/docs-website/commit/60086e0dd308a8e4f1a1167a6fc17071c2258f9a) and run `node tools/menu.mjs` 4. Update [Algolia crawler configuration](https://crawler.algolia.com/admin/crawlers/23316da5-88e8-4a30-ab16-d5ec5bd9133f/configuration/edit) diff --git a/pwa/consts.ts b/pwa/consts.ts index 61201286..315e112f 100644 --- a/pwa/consts.ts +++ b/pwa/consts.ts @@ -1,4 +1,5 @@ export const versions = [ + "4.2", "4.1", "4.0", "3.4", @@ -16,6 +17,6 @@ export const versions = [ "main", ]; -export const refVersions: string[] = ["4.1", "4.0", "3.4", "3.3", "3.2", "main"]; +export const refVersions: string[] = ["4.2", "4.1", "4.0", "3.4", "3.3", "3.2", "main"]; -export const current = "4.1"; +export const current = "4.2"; diff --git a/pwa/docs-versions.txt b/pwa/docs-versions.txt index 870f65a7..08b46c91 100644 --- a/pwa/docs-versions.txt +++ b/pwa/docs-versions.txt @@ -1,3 +1,4 @@ +4.2 4.1 4.0 3.4