brigadecore / brigade

Event-driven scripting for Kubernetes
https://brigade.sh/
Apache License 2.0
2.41k stars 246 forks source link

docs: fix several headings #1842

Closed krancour closed 2 years ago

krancour commented 2 years ago

The main fix in this PR is that a superfluous h1 heading is removed from the top of most doc pages. Documents should have only one top-level heading and Hugo automatically uses the title found in the front matter to generate an h1 heading, so in most cases, we had duplicate or near duplicate text. The stylesheet is clever about changing the stying of a second h1, but it's still superfluous and afaik breaks the rules of semantic HTML.

There are other various heading-related fixes here, too, and I'll drop some comments in-line to explain wherever warranted.

netlify[bot] commented 2 years ago

✔️ Deploy Preview for brigade-docs ready!

🔨 Explore the source changes: ad795eda5417af24f4d72baac658429d0c5c28e7

🔍 Inspect the deploy log: https://app.netlify.com/sites/brigade-docs/deploys/62167921edc6570007e49d49

😎 Browse the preview: https://deploy-preview-1842--brigade-docs.netlify.app/