Preserve backticks in Helm ref docs - #280
Merged
Merged
Conversation
The Cloudflare builds were failing, and I noticed this error in them: ``` 2025-12-05T16:56:27.380Z Error occurred prerendering page "/docs/kagent/resources/helm". Read more: https://nextjs.org/docs/messages/prerender-error 2025-12-05T16:56:27.381Z ReferenceError: KMCP_VERSION is not defined 2025-12-05T16:56:27.381Z at g (.next/server/app/docs/kagent/resources/helm/page.js:1:3812) 2025-12-05T16:56:27.381Z at h (.next/server/app/docs/kagent/resources/helm/page.js:1:37261) 2025-12-05T16:56:27.381Z at stringify (<anonymous>) { 2025-12-05T16:56:27.382Z digest: '3541987100' 2025-12-05T16:56:27.382Z } ``` the update-ref-docs was removing backticks from the Helm ref docs, I'm not sure why. But I think adding it will prevent the build from thinking this `${KMCP_VERSION}` variable is jsx that it needs to interpret. Signed-off-by: Art Berger <art.berger@solo.io>
Nadine2016
approved these changes
Dec 5, 2025
artberger
added a commit
that referenced
this pull request
Jan 5, 2026
doc builds are breaking with errors like: ``` 09:43:27.077 Error occurred prerendering page "/docs/kagent/resources/helm". Read more: https://nextjs.org/docs/messages/prerender-error 09:43:27.077 ReferenceError: KMCP_VERSION is not defined ``` it looks like the ${KMCP_VERSION} does not have codeticks so it breaks the build follow up to #280 Signed-off-by: Art Berger <art.berger@solo.io>
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.
The Cloudflare builds were failing, and I noticed this error in them:
the update-ref-docs was removing backticks from the Helm ref docs, I'm not sure why. But I think adding it will prevent the build from thinking this
${KMCP_VERSION}variable is jsx that it needs to interpret.Builds locally for me:
