You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix Gradle snippets: use implementation instead of platform() so
transitive dependencies are actually added to the classpath
- Add explicit versions for OTel instrumentation dependencies since
Maven dependencyManagement is not transitive to consumers
- Remove misleading claims about automatic version management in docs
- Add maven.compiler.release and project.build.sourceEncoding to all
standalone example POMs (Java 8 for most, Java 17 for Tomcat 11)
- Update set-release-version-github-pages.sh description to reflect
broader docs/content scope
- Document $version placeholder convention in CLAUDE.md
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,12 @@ mise run lint:super-linter
119
119
- Integration tests are in `integration-tests/` and run during `verify` phase
120
120
- Acceptance tests use OATs framework: `mise run acceptance-test`
121
121
122
+
## Documentation
123
+
124
+
- Docs live under `docs/content/` and use `$version` as a placeholder for the library version
125
+
- When publishing GitHub Pages, `mise run set-release-version-github-pages` replaces `$version` with the latest git tag across all `docs/content/**/*.md` files (the published site is not versioned)
126
+
- When writing docs, always use `$version` for the Prometheus client version — never hardcode it
127
+
122
128
## Java Version
123
129
124
130
Source compatibility: Java 8. Tests run on Java 25 (configured in `mise.toml`).
0 commit comments