Skip to content

Commit b1af1c0

Browse files
soyukaginifizz
andauthored
Staging (#632)
Co-authored-by: ginifizz <[email protected]>
1 parent ef49d50 commit b1af1c0

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,5 @@ pnpm start
102102
1. Create a branch for the new version [in the `api-platform/docs` repository](https://github.com/api-platform/docs).
103103
2. Update the `DEFAULT_BRANCH` environement variable for super-linter in the docs `.github/workflows/ci.yml`
104104
3. Update [`consts.ts`](./pwa/consts.ts)
105+
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`
105106
4. Update [Algolia crawler configuration](https://crawler.algolia.com/admin/crawlers/23316da5-88e8-4a30-ab16-d5ec5bd9133f/configuration/edit)

pwa/consts.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export const versions = [
2+
"4.2",
23
"4.1",
34
"4.0",
45
"3.4",
@@ -16,6 +17,6 @@ export const versions = [
1617
"main",
1718
];
1819

19-
export const refVersions: string[] = ["4.1", "4.0", "3.4", "3.3", "3.2", "main"];
20+
export const refVersions: string[] = ["4.2", "4.1", "4.0", "3.4", "3.3", "3.2", "main"];
2021

21-
export const current = "4.1";
22+
export const current = "4.2";

pwa/docs-versions.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
4.2
12
4.1
23
4.0
34
3.4

0 commit comments

Comments
 (0)