prometheus/docs/configuration
Julius Volz 1b818b03d5 Clean up codeboxes and headings in docs
The new docs site will have syntax highlighting, so this adds language tags
to code boxes that are currently missing them. I didn't add `promql` as a
language yet since the highlighter doesn't support it yet, plus a lot of
the PromQL codeboxes in our docs aren't strictly valid PromQL, they are
more like multiple expressions listed in the same code box on multiple
lines. So I'm leaving that for sometime later.

In the HTTP API page, I moved the curl examples from the JSON codeboxes to
their own ones above the JSON output. I considered putting an "Output:"
text between the curl + JSON output, but I think the way it currently looks
without it is probably fine.

I also fixed a number of headings which were at the wrong level relative to
their nesting in the document.

I also removed `go` as a language from the Go template language examples,
because the Go template language isn't Go at all.

I also adjusted the indent on one codebox to be more reasonable (2 spaces
instead of 8).

And then finally, my editor made a bunch of whitespace changes
automatically, like removing trailing spaces.

Signed-off-by: Julius Volz <julius.volz@gmail.com>

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2025-05-13 15:38:29 +02:00
..
alerting_rules.md Clean up codeboxes and headings in docs 2025-05-13 15:38:29 +02:00
configuration.md Clean up codeboxes and headings in docs 2025-05-13 15:38:29 +02:00
https.md Clean up codeboxes and headings in docs 2025-05-13 15:38:29 +02:00
index.md Consolidate configuration and rules docs in docs/configuration/ 2017-10-27 09:54:02 +02:00
recording_rules.md Clean up codeboxes and headings in docs 2025-05-13 15:38:29 +02:00
template_examples.md Clean up codeboxes and headings in docs 2025-05-13 15:38:29 +02:00
template_reference.md Clean up codeboxes and headings in docs 2025-05-13 15:38:29 +02:00
unit_testing_rules.md promtool: Optional fuzzy float64 comparison in rules unittests (#16395) 2025-05-01 17:58:12 +10:00