k-krawczyk opened a new pull request, #1666:
URL: https://github.com/apache/camel-website/pull/1666

   ### CAMEL-23781
   
   Companies may restrict their AI coding agents from accessing the internet 
(or allow-list access only after a slow approval). This adds an offline 
documentation bundle so agents — and humans — can read the Camel docs locally 
without reaching `camel.apache.org`.
   
   #### Changes
   - New `gulp/helpers/offline-bundle.js`: after the Markdown files are 
generated, zips all `public/**/*.md` files plus `public/llms.txt` — preserving 
the site directory structure — into `public/camel-docs-offline.zip`. Uses the 
system `zip` tool, so no new dependency is added.
   - Wired into the `generate-markdown` task, right after `llms.txt` is 
generated.
   - `llms-txt-template.md` now points agents at the offline archive, so an AI 
that fetches `llms.txt` discovers the offline option.
   
   Usage: download `https://camel.apache.org/camel-docs-offline.zip`, unzip it 
locally (for example into `/tmp`), and read the `.md` files from there.
   
   #### Testing
   The helper was verified in isolation (generate → extract round-trip): the 
archive preserves the nested directory structure, includes `llms.txt`, excludes 
`.html`/binary assets, and does not include itself. A full site build (Antora + 
Hugo) was not run locally.
   
   _Reported by Claude Code on behalf of Karol Krawczyk_


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