docs(runtimes): route hardcoded runtime versions through docs.json variables - #887
Open
neurowave wants to merge 1 commit into
Open
docs(runtimes): route hardcoded runtime versions through docs.json variables#887neurowave wants to merge 1 commit into
neurowave wants to merge 1 commit into
Conversation
…riables Three pages pinned versions inline and had drifted: canvas 2.10.3, canvas-advanced 2.26.1 (four places), and rive-ios 6.13.0, against 2.40.1 and 6.24.0 today. web-js.mdx already reads its version from a docs.json variable, so these now do the same and there is one place to bump. versionWebGL2 was itself behind at 2.38.3.
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
web-js.mdxalready reads its version from adocs.jsonvariable. Three other pages pin versions inline, and all three have drifted:runtimes/web/inputs.mdx@rive-app/canvas@2.10.3runtimes/web/low-level-api-usage.mdx(4 places)@rive-app/canvas-advanced@2.26.1runtimes/apple/apple.mdxrive-ios from: "6.13.0"versionWebGL2was also behind at 2.38.3, so that's bumped too.The low-level page's versions are illustrative — the surrounding note says to match whatever you installed — but they're still numbers a reader copies, and a variable keeps them current for free. Adds
versionCanvas,versionCanvasAdvanced, andversionApple, so future bumps are one edit indocs.jsoninstead of a grep.Variables already substitute inside fenced code blocks on the live site (
web-js.mdxand the Apple pages do this today), so theswiftandjavascriptsamples render correctly.Not touched:
runtimes/react/preloading-wasm.mdxpairscanvas@1.0.95withreact-canvas@3.0.33to illustrate version pairing, so a live number would defeat the point. Unity's#v0.0.0is a deliberate placeholder with "replace 0.0.0 with the latest release" beside it.mint broken-linkspasses.