website: Fix version origin detection, build-time URLs #15774
website: Fix version origin detection, build-time URLs #15774GirlBossRush merged 9 commits intomainfrom
Conversation
✅ Deploy Preview for authentik-storybook canceled.
|
✅ Deploy Preview for authentik-integrations canceled.
|
✅ Deploy Preview for authentik-docs canceled.
|
0aa3853 to
67e51e9
Compare
❌ 3 Tests Failed:
View the top 1 failed test(s) by shortest run time
View the full list of 2 ❄️ flaky tests
To view more test analytics, go to the Test Analytics Dashboard |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-806bdcd1945acf395cefba5b1a63d79d77755370
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-806bdcd1945acf395cefba5b1a63d79d77755370Afterwards, run the upgrade commands from the latest release notes. |
a7940ad to
e1853a2
Compare
f36c4e8 to
a78b3a0
Compare
3cc4772 to
1a23cf8
Compare
|
Question though... why remove |
|
And does the addition of a 1000 line netlify.toml in https://github.com/goauthentik/authentik/blob/docs-rootless-path/website/netlify.toml cause performance issues or build slow downs? |
1a23cf8 to
94ec18d
Compare
|
@tanberry @dominic-r the Netlify config file is moved so that it can be picked up by their build cache more effectively. Existing redirects are left intact to keep things backwards compatible.
The performance hit is negligible, but I'd leave them be for at least six more months. We can use analytics to determine if they're still linked externally |
e851655 to
806bdcd
Compare
* website: Update route base path. * website: Add copy step for migration. * website: Use build redirects. * website: Ensure that netlify config is picked up. * website: Add shared Netlify plugin cache. * website: Use relative path. * website: Fix routing when moving across versioned URLs. * website: Fix issues surrounding origin detection. * website: Allow integrations to omit plugin data, fix types.
Co-authored-by: Dominic R <dominic@sdko.org> Fix version origin detection, build-time URLs (#15774)
* main: providers/oauth2: avoid deadlock during session migration (#16361) lifecycle/aws: bump aws-cdk from 2.1025.0 to 2.1026.0 in /lifecycle/aws (#16352) core: bump github.com/stretchr/testify from 1.10.0 to 1.11.0 (#16357) core: bump axllent/mailpit from v1.27.5 to v1.27.6 in /tests/e2e (#16358) website/docs: fix missing trailing slash in vaultwarden documentation (#16348) root: fix security.md (#16345) root: update security.md with github reporting link (#16332) website/docs: 2025.8.1 release notes (#16343) packages/django-dramatiq-postgres: broker: fix various timing issues (#16340) website/docs: adds details to certificates doc (#16335) outposts: allow ingress path type configuration (#16339) core, web: update translations (#16321) outposts: fix service connection update task arguments (#16312) core: use email backend for test_email management command (#16311) core: bump astral-sh/uv from 0.8.12 to 0.8.13 (#16325) website: Move docs netlify.toml (#16320) website/docs: add link in 2025.8 rel notes to back-channel logout docs (#16306) packages/django-dramatiq-postgres: middleware: fix listening on hosts where ipv6 is not supported (#16308) website: Fix version origin detection, build-time URLs (#15774) web/a11y: Associating labels with inputs (#16119)
Details
This PR fixes several issues surrounding Docusaurus's ability to consistently use version URLs, such as when linking to and from the API reference, as well as linking to prerelease docs.
What this PR does not include
How to test linking to the API reference
Checklist
ak test authentik/)make lint-fix)If an API change has been made
make gen-build)If changes to the frontend have been made
make web)If applicable
make docs)