Skip to content

Fix indentation to meet yamllint expectations

Amy Qualls requested to merge docs-aqualls-fix-indents into main

In !1876 (closed) I noticed the yaml_lint job threw warnings AND errors. While I'm trying to repair the error in the original MR, I'm moving the fixes for the warnings to this merge request instead.

Original pipeline: https://gitlab.com/gitlab-org/gitlab-docs/-/jobs/1345720157

$ yamllint .gitlab-ci.yml content/_data
content/_data/navigation.yaml
  41:1      warning  comment not indented like content  (comments-indentation)
  51:13     warning  comment not indented like content  (comments-indentation)
  155:13    warning  comment not indented like content  (comments-indentation)
  407:1     warning  comment not indented like content  (comments-indentation)
  676:1     warning  comment not indented like content  (comments-indentation)
  679:55    warning  too few spaces before comment  (comments)
  743:1     warning  comment not indented like content  (comments-indentation)
  806:1     warning  comment not indented like content  (comments-indentation)
  809:46    warning  too few spaces before comment  (comments)
  812:60    warning  too few spaces before comment  (comments)
  860:42    warning  too few spaces before comment  (comments)
  964:55    warning  too few spaces before comment  (comments)
  1076:63   warning  too few spaces before comment  (comments)
  1430:65   warning  too few spaces before comment  (comments)
  2051:4    warning  comment not indented like content  (comments-indentation)

Merge request reports