Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rendering of kapp examples #770

Merged

Conversation

Zebradil
Copy link
Member

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.

Copy link

netlify bot commented May 23, 2024

Deploy Preview for carvel canceled.

Name Link
🔨 Latest commit 6834c1f
🔍 Latest deploy log https://app.netlify.com/sites/carvel/deploys/664fc89c09f13e00080e66bc

@Zebradil Zebradil force-pushed the fix-kapp-examples-rendering branch from d29261e to 6834c1f Compare May 23, 2024 22:52
Signed-off-by: German Lashevich <[email protected]>
@praveenrewar
Copy link
Member

@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.

Copy link
Contributor

@mamachanko mamachanko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ausgezeichnet

@Zebradil
Copy link
Member Author

@praveenrewar Notice the alignment yaml node under containers node.

Before

examples-before

After

examples-after

Copy link
Member

@praveenrewar praveenrewar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you so much for the fix!

@praveenrewar praveenrewar merged commit d83d6de into carvel-dev:develop May 24, 2024
7 checks passed
@Zebradil Zebradil deleted the fix-kapp-examples-rendering branch May 24, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants