carvel-dev / carvel

Carvel provides a set of reliable, single-purpose, composable tools that aid in your application building, configuration, and deployment to Kubernetes. This repo contains information regarding the Carvel open-source community.
https://carvel.dev/
Apache License 2.0
369 stars 109 forks source link

Fix rendering of kapp examples #770

Closed Zebradil closed 1 month ago

Zebradil commented 1 month ago

Apparently, removing spaces in front of the opening highlight shortcodes fixes indentation issues in yaml. This seems like a bug in hugo but I haven't checked yet. I also looked for the other places where the shortcode is placed past the beginning of the line, but there yaml is rendered correctly.

netlify[bot] commented 1 month ago

Deploy Preview for carvel canceled.

Name Link
Latest commit 6834c1f03e5b9a7c77a4c1af8e4ed02cbb4afd2a
Latest deploy log https://app.netlify.com/sites/carvel/deploys/664fc89c09f13e00080e66bc
praveenrewar commented 1 month ago

@Zebradil Do you have an example of how it would look like with these changes. Apparently the deploy-preview is failing stating that it didn't detect any content change, not sure why.

Zebradil commented 1 month ago

@praveenrewar Notice the alignment yaml node under containers node.

Before

examples-before

After

examples-after