fix/monit: print query details correctly in docs (#61287)

This commit is contained in:
Jean-Hadrien Chabran 2024-03-20 11:01:32 +01:00 committed by GitHub
parent da2db42f1d
commit ef247774cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6307 additions and 1578 deletions

File diff suppressed because it is too large Load Diff

View File

@ -227,10 +227,11 @@ func (d *documentation) renderDashboardPanelEntry(c *Dashboard, o Observable, pa
<details>
<summary>Technical details</summary>
Query: %s
Query:
`+"```\n%s\n```"+`
</details>
`, fmt.Sprintf("`%s`", o.Query))
`, o.Query)
// render break for readability
fmt.Fprint(&d.dashboards, "\n<br />\n\n")