Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

torcx/index: quote '[]' #345

Merged
merged 1 commit into from
Oct 25, 2023
Merged

torcx/index: quote '[]' #345

merged 1 commit into from
Oct 25, 2023

Conversation

tormath1
Copy link
Contributor

@tormath1 tormath1 commented Oct 25, 2023

Otherwise YAML parser is not happy:

Error: Error building site: "/home/runner/work/flatcar-website/flatcar-website/content/docs/latest/provisioning/torcx/_index.md:2:1": failed to unmarshal YAML: yaml: did not find expected key

Noticed here: flatcar/flatcar-website#281 (nightly documentation build was failing too).

Locally tested.

@tormath1 tormath1 requested a review from a team October 25, 2023 10:31
@@ -1,5 +1,5 @@
---
title: [DEPRECATED / EOL] Torcx
title: DEPRECATED / EOL Torcx
Copy link
Contributor

Choose a reason for hiding this comment

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

Or just use an actual string:

Suggested change
title: DEPRECATED / EOL Torcx
title: "[DEPRECATED / EOL] Torcx"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Perfect - it works too.

Otherwise YAML parser is not happy:
```
Error: Error building site: "/home/runner/work/flatcar-website/flatcar-website/content/docs/latest/provisioning/torcx/_index.md:2:1": failed to unmarshal YAML: yaml: did not find expected key
```

Signed-off-by: Mathieu Tortuyaux <[email protected]>
@tormath1 tormath1 changed the title torcx/index: remove '[]' torcx/index: quote '[]' Oct 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants