Skip to content

fix for build failure - #430

Merged
artberger merged 2 commits into
mainfrom
adb-fix
Aug 4, 2026
Merged

fix for build failure#430
artberger merged 2 commits into
mainfrom
adb-fix

Conversation

@artberger

Copy link
Copy Markdown
Collaborator

add backticks so the {{ include "kagent.fullname" . }} / {{ .Release.Namespace }} expressions won't cause helm docs to fail the builds

error

webpack/lib/ModuleBuildError -> VFileMessage
Failed to compile.

./src/app/docs/kagent/resources/helm/page.mdx
page.mdx:151:658: Could not parse expression with acorn

add backticks so the ` {{ include "kagent.fullname" . }} / {{ .Release.Namespace }}` expressions won't cause helm docs to fail the builds

error
```
webpack/lib/ModuleBuildError -> VFileMessage
Failed to compile.

./src/app/docs/kagent/resources/helm/page.mdx
page.mdx:151:658: Could not parse expression with acorn
```

Signed-off-by: Art Berger <art.berger@solo.io>
@artberger artberger self-assigned this Aug 4, 2026
@artberger artberger added the bug Something isn't working label Aug 4, 2026
The extraObjects comment in the kagent chart values.yaml contains raw Helm
template snippets, which helm-docs emits into a table cell. MDX parses the
bare {{ ... }} as a JSX expression and the build fails with "Could not parse
expression with acorn" at page.mdx:151. Escape braces outside code spans;
they render identically.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Art Berger <art.berger@solo.io>
@artberger
artberger merged commit e32a328 into main Aug 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants