File tree Expand file tree Collapse file tree
src/app/docs/kagent/resources/helm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -224,6 +224,16 @@ jobs:
224224 # (might be replaced by helm docs template in the future)
225225 sed -i '/!\[Version:/,/^$/d' "src/app/docs/kagent/resources/helm/temp.mdx"
226226
227+ # Wrap the KMCP version placeholder in inline code so it shows literally in MDX
228+ python - <<'PY'
229+ from pathlib import Path
230+
231+ path = Path("src/app/docs/kagent/resources/helm/temp.mdx")
232+ text = path.read_text()
233+ text = text.replace("${KMCP_VERSION}", "`" + "${KMCP_VERSION}" + "`")
234+ path.write_text(text)
235+ PY
236+
227237 # Add frontmatter
228238 echo '---' > "src/app/docs/kagent/resources/helm/page.mdx"
229239 echo 'title : " Helm Chart Configuration" ' >> "src/app/docs/kagent/resources/helm/page.mdx"
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ A Helm chart for kagent, built with Google ADK
3030| file://../agents/promql | promql-agent | |
3131| file://../tools/grafana-mcp | grafana-mcp | |
3232| file://../tools/querydoc | querydoc | |
33- | oci://ghcr.io/kagent-dev/kmcp/helm | kmcp | ${ KMCP_VERSION } |
33+ | oci://ghcr.io/kagent-dev/kmcp/helm | kmcp | ` ${KMCP_VERSION} ` |
3434| oci://ghcr.io/kagent-dev/tools/helm | kagent-tools | 0.0.12 |
3535
3636## Values
You can’t perform that action at this time.
0 commit comments