contrib: expand Windows mixin rules and publish runbooks (#2575)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-10-09 09:10:59 +02:00
committed by GitHub
parent c7fa244d0e
commit d06f168926
43 changed files with 1629 additions and 38 deletions
+16
View File
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ site.Title }}</title>
<link rel="stylesheet" href="{{ site.Home.RelPermalink }}runbooks.css">
</head>
<body>
<header>
<a href="{{ site.Home.RelPermalink }}">{{ site.Title }}</a>
<a href="https://github.com/prometheus-community/windows_exporter">GitHub</a>
</header>
<main>{{ block "main" . }}{{ end }}</main>
</body>
</html>
+13
View File
@@ -0,0 +1,13 @@
{{/* The base template declares the doctype. <!-- htmlhint-disable doctype-first --> */}}
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ if .IsHome }}
<p>Diagnosis and mitigation for alerts from the Windows exporter mixin.</p>
{{ end }}
<ul class="runbooks">
{{ range (site.GetPage "/runbooks").RegularPages.ByTitle }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}
+8
View File
@@ -0,0 +1,8 @@
{{/* The base template declares the doctype. <!-- htmlhint-disable doctype-first --> */}}
{{ define "main" }}
<nav aria-label="Breadcrumb"><a href="{{ site.Home.RelPermalink }}runbooks/">All runbooks</a></nav>
<article>
<h1>{{ .Title }}</h1>
{{ .Content }}
</article>
{{ end }}