[ 
https://issues.apache.org/jira/browse/CAMEL-23781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089608#comment-18089608
 ] 

ASF GitHub Bot commented on CAMEL-23781:
----------------------------------------

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_




> camel-website - Offline zip for offline coding agents
> -----------------------------------------------------
>
>                 Key: CAMEL-23781
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23781
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-ai, website
>            Reporter: Claus Ibsen
>            Assignee: Karol Krawczyk
>            Priority: Major
>             Fix For: 4.x
>
>
> [https://github.com/apache/camel/pull/24063]
> Companies may have restricted their AI coding agents to not access the 
> internet, or with controlled access. But even for controlled acccess it may 
> take time for a company to approve camel.apache.org as allowed list.
> Maybe we can have a offline website .zip for AIs that has the website 
> structure and only the .md files that coding agents need. Then it can source 
> the information there, and just unzip this file on the local disk in /tmp.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to