Skip to content

Commit 23d71e0

Browse files
committed
chore: remove generation date from markdown
This commit removes the generation date from the metrics markdown file. Signed-off-by: vprashar2929 <[email protected]>
1 parent 101a55d commit 23d71e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/metrics/metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,4 +246,4 @@ Additional metrics provided by Kepler.
246246

247247
---
248248

249-
This documentation was automatically generated by the gen-metric-docs tool. Generated on 2025-06-12
249+
This documentation was automatically generated by the gen-metric-docs tool.

hack/gen-metric-docs/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
"regexp"
1313
"sort"
1414
"strings"
15-
"time"
1615

1716
"github.com/prometheus/client_golang/prometheus"
1817
"github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector"
@@ -204,7 +203,8 @@ func generateMarkdown(metrics []MetricInfo) string {
204203
}
205204

206205
md.WriteString("---\n\n")
207-
md.WriteString(fmt.Sprintf("This documentation was automatically generated by the gen-metric-docs tool. Generated on %s\n", time.Now().Format("2006-01-02")))
206+
md.WriteString("This documentation was automatically generated by the gen-metric-docs tool.")
207+
md.WriteString("\n")
208208
return md.String()
209209
}
210210

0 commit comments

Comments
 (0)