GaneshPatil7517 opened a new pull request, #1622:
URL: https://github.com/apache/camel-spring-boot/pull/1622
Fixes apache/camel-website#978
## Summary
This PR adds documentation support for cluster service infrastructure
starters that were causing build warnings because they don't have corresponding
Camel component documentation.
## Problem
The cluster service starters (consul, file, infinispan, jgroups-raft,
kubernetes, zookeeper) are infrastructure starters that don't directly use a
Camel component. The existing documentation mechanism in `list.adoc` counts
JSON files and compares them against pages with `:camel-spring-boot-name:`
attributes, causing a mismatch and build warnings.
## Solution
1. **Modified `list.adoc`**: Added `exclude='*-cluster-service.json'` to the
`indexcount` macro to exclude cluster service JSON files from the validation
count
2. **Created dedicated documentation pages** for each cluster service:
- `consul-cluster-service.adoc`
- `file-cluster-service.adoc`
- `infinispan-cluster-service.adoc`
- `jgroups-raft-cluster-service.adoc`
- `kubernetes-cluster-service.adoc`
- `zookeeper-cluster-service.adoc`
3. **Added Cluster Services section** in `list.adoc` with a table linking to
the new pages
4. **Updated `nav.adoc`** with Cluster Services navigation entries
## Changes
- `docs/spring-boot/modules/ROOT/pages/list.adoc` - Added exclusion pattern
and Cluster Services section
- `docs/spring-boot/modules/ROOT/nav.adoc` - Added Cluster Services
navigation
- `docs/spring-boot/modules/ROOT/pages/consul-cluster-service.adoc` - New
- `docs/spring-boot/modules/ROOT/pages/file-cluster-service.adoc` - New
- `docs/spring-boot/modules/ROOT/pages/infinispan-cluster-service.adoc` - New
- `docs/spring-boot/modules/ROOT/pages/jgroups-raft-cluster-service.adoc` -
New
- `docs/spring-boot/modules/ROOT/pages/kubernetes-cluster-service.adoc` - New
- `docs/spring-boot/modules/ROOT/pages/zookeeper-cluster-service.adoc` - New
--
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]