Repository navigation
docs: update camel doc and build cicd - #3885
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip You can disable poems in the walkthrough.Disable the |
There was a problem hiding this comment.
Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit in Settings → Usage.
Once credits are available, reopen this pull request to trigger a review.
a7m-1st
left a comment
There was a problem hiding this comment.
Thanks for the PR @fengju0213 ; I have reviewed almost all elements except testing the auto sync on PR itself. Perhaps we can have a go at that after we merge?
Left a comment below on a small bug perhaps you can fix it; Also updated the terminal to look return more context on missing commands:
thanks @a7m-1st fixed |
Wendong-Fan
left a comment
There was a problem hiding this comment.
overall LGTM, added some minor enhance in #3955




This PR adds a release-driven incremental docs sync flow for Mintlify documentation. It introduces
doc_code_map-based impact detection, a ChatAgent-based updater that edits one impacted doc at a time, and a GitHub Actions workflow that opens an automated docs PR when mapped pages actually change.It also adds
doc_code_mapcoverage across keydocs/mintlify/key_modulesanddocs/mintlify/mcppages, refreshes several docs to match current APIs, and fixes malformed or stale examples in the affected pages.What Changed
Release docs auto-sync tooling
.github/workflows/docs_release_auto_sync_pr.ymlto run on release publication, verifydoc_code_map, compute changed Python files, resolve impacted docs, run the ChatAgent updater, and create a PR only when docs actually changed.docs/mintlify/scripts/docs_sync/doc_code_map.pyanddocs/mintlify/scripts/docs_sync/README.mdto validate frontmatter mappings and compute impacted docs from changed Python files or git refs..camel/skills/docs-incremental-update/SKILL.mdand.camel/skills/docs-incremental-update/scripts/auto_sync_docs_with_chatagent.pyto define the incremental docs update workflow and execute it through CAMEL.Agent execution and scoping rules
test/docs/test_docs_sync.pyfor impact detection, changed-file handling, prompt construction, and response logging.doc_code_mapcoverage for Mintlify docsdoc_code_mapfrontmatter to key module pages covering areas such as agents, benchmarks, browser toolkit, datagen, embeddings, interpreters, loaders, memory, messages, models, prompts, retrievers, runtimes, societies, storages, tasks, terminal toolkit, tools, and workforce.doc_code_mapfrontmatter to MCP pages includingcamel_agents_as_an_mcp_clients,camel_toolkits_as_an_mcp_server,connecting_existing_mcp_tools,export_camel_agent_as_mcp_server,mcp_hub, andoverview.Documentation updates and example fixes
docs/mintlify/key_modules/runtimes.mdxto clean up content and correct theexamples/runtimeslink.docs/mintlify/key_modules/terminaltoolkit.mdxto document managed runtime environments, optional Go/Java runtime support, safe mode behavior, and human-in-the-loop session handling.docs/mintlify/key_modules/workforce.mdxto cover pipeline mode, failure handling config, runtime control APIs, workflow memory, and currentModelFactoryusage.docs/mintlify/key_modules/storages.mdxto fix theSurrealStorageimport and improve storage examples.docs/mintlify/mcp/camel_agents_as_an_mcp_clients.mdxanddocs/mintlify/mcp/export_camel_agent_as_mcp_server.mdxto align MCP examples with current imports and usage patterns.docs/mintlify/key_modules/loaders.mdx,docs/mintlify/key_modules/tools.mdx, anddocs/mintlify/key_modules/interpreters.mdx.Closes #
Description
What is the purpose of this pull request?
Checklist
pyproject.tomland runuv lockIf you are unsure about any of these, don't hesitate to ask. We are here to help!