Skip to content

fix(caddy): route current docs to 5.0 - #706

Merged
soyuka merged 1 commit into
mainfrom
docs/point-current-docs-to-5.0
Sep 17, 2026
Merged

soyuka merged 1 commit into
mainfrom
docs/point-current-docs-to-5.0

Conversation

@soyuka

@soyuka soyuka commented Sep 16, 2026

Copy link
Copy Markdown
Member

The @version_current rule redirects the current documentation version to the bare /docs/ path. It still matched 4.3.

API Platform 5.0 becomes the current version, so the rule now matches ^/docs/v5\.0/(.*).

This is the website half of the version bump. The other half is api-platform/docs-website#35, which sets current-version.txt, docs-versions.txt and hugo.toml. Merge both together, and only after api-platform/core has a 5.0 branch, because the docs deploy fetches every listed version from core.

@soyuka
soyuka merged commit e479810 into main Sep 17, 2026
@soyuka
soyuka deleted the docs/point-current-docs-to-5.0 branch September 17, 2026 06:26
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