davsclaus opened a new pull request, #24843:
URL: https://github.com/apache/camel/pull/24843

   ## Summary
   
   _Claude Code on behalf of davsclaus_
   
   - Removes incorrect option count numbers from EIP, component, language, and 
dataformat documentation page headers
   - Replaces "supports N options" with generic "supports the following 
options" text
   - Removes broken `jsonpathcount$` include directives that produced wrong 
counts on the website
   
   ## Problem
   
   The `jsonpathcount$` Asciidoctor include processor (from 
`@djencks/asciidoctor-jsonpath`) produces incorrect option counts during the 
Antora website build:
   - **87 out of 106 EIPs** show wrong counts (e.g., Saga shows "0 options" 
while 11 are listed in the table)
   - The count filter in `eip-options.adoc` excluded `Description`, 
`Expression`, and `Outputs` from the count but the table showed them — a filter 
mismatch
   - On top of that, the `jsonpathcount$` processor itself produces wildly 
incorrect results during the Antora build (counts don't match what the jsonpath 
library returns locally)
   
   ## Changes
   
   | File | Change |
   |---|---|
   | `eip-options.adoc` | Remove `jsonpathcount$`, `ifeval` conditionals, and 
count from header |
   | `eip-exchangeProperties.adoc` | Remove count from header text (keep 
`ifeval` for hiding empty sections) |
   | `language-options.adoc` | Remove `jsonpathcount$`, `ifeval` conditionals, 
and count from header |
   | `dataformat-options.adoc` | Remove `jsonpathcount$`, `ifeval` 
conditionals, and count from header |
   | `component-endpoint-options.adoc` | Remove `propertycount` and counts from 
section headers (keep `pathparametercount`/`queryparametercount`/`apicount` for 
`ifeval` conditionals) |
   | `component-endpoint-headers.adoc` | Remove count from header text (keep 
`ifeval` for hiding empty sections) |
   
   ## Test plan
   
   - [ ] Verify the website builds without errors after this change
   - [ ] Spot-check EIP pages (e.g., saga-eip, stickyLoadBalancer-eip, 
aggregate-eip) to confirm they no longer show incorrect "supports 0 options"
   - [ ] Verify component pages still correctly hide empty path/query parameter 
sections
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   Co-Authored-By: Claude Opus 4.6 <[email protected]>


-- 
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