ammachado opened a new pull request, #1974:
URL: https://github.com/apache/camel-spring-boot/pull/1974

   ## Summary
   
   Backport of #1973 to `camel-spring-boot-4.22.x`. The 
`camel-spring-boot/4.22.x/starters/micrometer` page is one of the 35 
documentation pages with no `.md` twin on the website, see 
apache/camel-website#1746.
   
   The Javadoc of `camel.metrics.log-metrics-on-shutdown-filters` contains two 
`*` characters (`` `*` `` and `` `camel.exchanges.*` ``). In the generated 
`starters/micrometer.adoc` table, Asciidoctor pairs them as constrained bold 
across the monospace spans and emits `<code><strong></code> ... 
<code>camel.exchanges.</strong></code>`. The website's HTML-to-Markdown step 
then loses `article.doc` and skips the page.
   
   ## Change
   
   Reword the Javadoc so only one `*` remains:
   
   > List of metrics (comma separated) to log when application is shutting 
down. You can use a wildcard to log any metrics matching a pattern, for example 
`camel.exchanges.*` (default to all metrics available).
   
   Cherry-picked from the `main` commit with `-x`. The generated 
`micrometer.adoc` conflicted only because 4.22.x has no 
`log-metrics-on-shutdown-format` option (17 options instead of 18); it was 
regenerated by building the starter on this branch, and the result differs from 
the branch by a single table line.
   
   ## Verification
   
   Rendered the regenerated 4.22.x `micrometer.adoc` with Asciidoctor.js and 
parsed it with the website's `node-html-parser`: before the change 
`article.doc` is lost (page skipped); after it, the HTML is valid and 
`article.doc` is found. Module tests were not run: the change touches a Javadoc 
comment and generated docs only.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code) on behalf of 
Adriano Machado (@ammachado)
   
   _This was generated by an AI agent and may contain inaccuracies. Please 
verify before relying on it._
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to