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

Docs: Use the correct YAML text block indicator to prevent formatting issues #11552

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

neodon
Copy link

@neodon neodon commented Nov 14, 2024

In the Spark Quickstart guide, the initial docker-compose example specifies an entrypoint script in a multi-line string. The string is mistakenly started with the 'folded style' indicator >, which causes formatters to collapse it into one line.

Changing to the 'literal style' indicator | resolves the issue and preserves formatting.

Folded Style: https://yaml.org/spec/1.2.2/#813-folded-style
Literal Style: https://yaml.org/spec/1.2.2/#812-literal-style

… issues.

In the Spark Quickstart guide, the initial docker-compose example specifies an
entrypoint script in a multi-line string. The string is mistakenly started with
the 'folded style' indicator `>`, which causes formatters to collapse it into
one line.

Changing to the 'literal style' indicator `|` resolves the issue and preserves
formatting.

Folded Style: <https://yaml.org/spec/1.2.2/#813-folded-style>
Literal Style: <https://yaml.org/spec/1.2.2/#812-literal-style>
@github-actions github-actions bot added the docs label Nov 14, 2024
@neodon
Copy link
Author

neodon commented Nov 15, 2024

Pardon the (probably) unnecessary merge.

Copy link

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 21, 2024
@neodon neodon requested a review from jbonofre December 23, 2024 20:58
@github-actions github-actions bot removed the stale label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants