Skip to content

docs: use versioned schema URLs in docs#155

Merged
wry-ry merged 1 commit intorelease/2026-01-23from
use-versioned-urls-consistently
Feb 6, 2026
Merged

docs: use versioned schema URLs in docs#155
wry-ry merged 1 commit intorelease/2026-01-23from
use-versioned-urls-consistently

Conversation

@lemonmade
Copy link
Contributor

I noticed that many of the docs were still using 2026-01-11 API versions, and almost none of the docs had been updated to use a versioned schema URL. This PR fixes both issues, with the 2026-01-23 API version used consistently. I assume we will want a better, more automated way of doing this as we continue to publish versions, but in the interim, I’d love to have the docs speak a little more consistently, and point folks to permanent URLs (ucp.dev/* and ucp.dev/latest/* will always work, but their content will be variable over time, and their versions will not match with the hardcoded version strings in examples that reference those URLs).

@lemonmade lemonmade requested review from a team and igrigorik February 4, 2026 16:46
Copy link
Contributor

@igrigorik igrigorik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 lgtm

Stepping back, the version should really be dynamic / injected when we build, and we should be validating all the embedded examples against the latest version as part of build. Not blocking to this PR (we should land it and show right version), but I'd love to not have to need to manually update and approve PRs like this in the future.

@igrigorik igrigorik added this to the Working Draft milestone Feb 4, 2026
@wry-ry
Copy link
Collaborator

wry-ry commented Feb 4, 2026

Thanks for the fix. Can you target this to release/2026-01-23 branch instead to fix it there? I'll look into automating it for the draft version and bring a PR for it tonight or tomorrow.

@lemonmade lemonmade force-pushed the use-versioned-urls-consistently branch from 227cd9a to fcb1ab5 Compare February 5, 2026 16:45
@lemonmade lemonmade changed the base branch from main to release/2026-01-23 February 5, 2026 16:45
@lemonmade
Copy link
Contributor Author

@wry-ry done 👍

Copy link
Collaborator

@wry-ry wry-ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@wry-ry wry-ry merged commit 4437120 into release/2026-01-23 Feb 6, 2026
2 checks passed
@wry-ry wry-ry deleted the use-versioned-urls-consistently branch February 6, 2026 00:31
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.

3 participants