Skip to content

[PR #2408/d8c36a01 backport][stable-2.18] Fix YAML syntax, adjust more code block languages #2419

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

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Feb 14, 2025

This is a backport of PR #2408 as merged into devel (d8c36a0).

I went through the problems mentioned by #2385 after #2382 got merged.

Quite a few places were things like ... in YAML to indicate "some more content here". I usually replaced it by # ....

Another large set (especially in the filters documentation) was something that was a Jinja template, but not really YAML. I usually tagged them as jinja instead. Everything that is tagged yaml+jinja should be syntactially valid YAML. That also means I had to change back #2382 (comment) since this Jinja template cannot be made valid YAML, due to the value for dependencies, which must be a dictionary, and cannot be (in Ansible-style) a YAML string that evaluates to a dictionary.

* Fix broken YAML, or adjust code block type.

* Normalize code block type.

(cherry picked from commit d8c36a0)
@felixfontein felixfontein merged commit 99daf72 into stable-2.18 Feb 14, 2025
11 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-2.18/d8c36a014f305acafed82cc3c2d699053f22a9c9/pr-2408 branch February 14, 2025 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant