This is an automated email from the ASF dual-hosted git repository.

oscerd pushed a commit to branch camel-4.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.18.x by this push:
     new b87e8e31086f ci: scope the local docs build to components 4.18.x so PR 
doc validation resolves xrefs (#26017)
b87e8e31086f is described below

commit b87e8e31086fb46c060b284e13b34829ff188868
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Sep 2 09:24:57 2026 +0200

    ci: scope the local docs build to components 4.18.x so PR doc validation 
resolves xrefs (#26017)
    
    Same fix as camel-4.22.x received in #25748, applied to this branch.
    
    The PR doc validation job runs camel-website's antora-local-build.sh in 
"quick"
    mode, which builds the local checkout and resolves everything else from the
    published site-manifest.json. Which components come from the local sources 
is
    decided by the components filter in docs/source-watch.yml.
    
    On main that filter is active and names components/next. Here it was left
    commented out, so the filter is empty and the local build is not scoped:
    Antora then tries to resolve the whole components namespace out of the local
    checkout, which does not carry every page, and every xref into components::
    fails.
    
    Uncomment the filter with this branch's own version, 4.18.x, matching what
    docs/components/antora.yml and 
core/camel-core-engine/src/main/docs/antora.yml
    already declare here.
    
    The failure is latent on this branch: no PR targeting camel-4.18.x has
    triggered doc validation recently. On camel-4.22.x the same empty filter
    produced 433 xref errors on every PR until #25748, which went from 433 to 0.
    
    Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 docs/source-watch.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/docs/source-watch.yml b/docs/source-watch.yml
index bb64106e8070..86117ed4455d 100644
--- a/docs/source-watch.yml
+++ b/docs/source-watch.yml
@@ -23,8 +23,7 @@
           branch_includes: main
           start_path_includes: docs/components,components-starter
       components:
-# uncomment to work only on components
-#        - name: components
-#          version: next
+        - name: components
+          version: 4.18.x
 # uncomment to work only on the user manual
 #        - name: manual

Reply via email to