Skip to content

chore: register 5.0 as the current version - #35

Merged
soyuka merged 1 commit into
mainfrom
docs/register-5.0-version
Sep 17, 2026
Merged

soyuka merged 1 commit into
mainfrom
docs/register-5.0-version

Conversation

@soyuka

@soyuka soyuka commented Sep 16, 2026

Copy link
Copy Markdown
Member

Registers API Platform 5.0 in the documentation site and makes it the version served at /docs/.

Changes, in the order the release skill in this repository lists them:

  • docs-versions.txt: add 5.0 as the first line.
  • current-version.txt: 4.3 becomes 5.0.
  • hugo.toml: defaultVersion and defaultVersionPath become 5.0 and v5.0, and a new [[params.versions]] block goes above 4.4.

config/_default/menus.toml is not edited by hand. The deploy workflow in api-platform/docs runs tools/get-docs.sh and node tools/menu.mjs on every build, so the menu is regenerated there.

Do not merge before api-platform/core has a 5.0 branch. tools/get-core-docs.sh runs git fetch --depth=1 origin $version against api-platform/core for every entry of docs-versions.txt. Core has main and 4.4 today, so merging this first makes the deploy fail on the 5.0 entry. The api-platform/docs side is ready: its 5.0 branch exists and matches main.

The matching Caddy change is in api-platform/website#706.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant