chef / cookstyle

A linting tool that helps you to write better Chef Infra cookbooks and InSpec profiles by detecting and automatically correcting style, syntax, and logic mistakes in your code.
Apache License 2.0
107 stars 54 forks source link

CHEF-5468 Correct heading level in output docs yaml files #962

Closed IanMadd closed 1 year ago

IanMadd commented 1 year ago

Correct the heading levels in examples in the output yaml files for documentation.

Description

Currently the YAML files output from the generate_cops_yml_documentation rake task have H4 headings in the correct and incorrect example headings (for example https://docs.chef.io/workstation/cookstyle/chef_correctness_blockguardwithonlystring/#examples), but they should be H3. This changes them from H4 --> H3.

Related Issue

Types of changes

Checklist:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication