Skip to content

feat: add submodule: [web-agent] and intergate docs into doc site#83

Merged
kagol merged 2 commits intodevfrom
feat/intergateWebAgentDoc
Feb 13, 2026
Merged

feat: add submodule: [web-agent] and intergate docs into doc site#83
kagol merged 2 commits intodevfrom
feat/intergateWebAgentDoc

Conversation

@chilingling
Copy link
Member

@chilingling chilingling commented Feb 13, 2026

【描述】

  1. 增加 web-agent 子模块。
  2. 集成web-agent 子模块文档到 opentiny 文档。
image image image

Summary by CodeRabbit

  • New Features
    • Added web-agent as a new product in site navigation
    • Introduced web-agent documentation section with getting started guide, architecture design, and API reference resources
    • Web-agent now accessible via dedicated navigation tab alongside other products

@coderabbitai
Copy link

coderabbitai bot commented Feb 13, 2026

Warning

Rate limit exceeded

@chilingling has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 2 minutes and 40 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

Walkthrough

The pull request integrates a new web-agent product module into the documentation site by adding submodule configuration, updating navigation sidebars, extending product tabs in the header, and adding corresponding navigation mappings to handle routing and display logic.

Changes

Cohort / File(s) Summary
Repository Setup
.gitmodules, web-agent
Added web-agent submodule pointing to git@github.com:opentiny/web-agent.git and updated subproject commit reference.
Documentation Configuration
.vitepress/config.mts
Introduced WebAgentSidebar constant with Chinese documentation sections (快速开始, 架构设计, API 参考) and wired it into site navigation with route rewrites for /web-agent/docs/ to /web-agent/guide/.
Layout & Theming
.vitepress/theme/Layout.vue
Added redirect mappings for web-agent paths to /web-agent/guide/getting-started and updated doc title resolution logic to recognize web-agent alongside existing documentation sections.
Product Navigation
.vitepress/theme/components/CustomHeader.vue
Expanded header tab width to 980px, added web-agent to product tab navigation, updated active tab recognition, and integrated web-agent into tab selection and route-change handlers.
Navigation Entities
.vitepress/theme/entity/nav-tab.ts
Added WebAgentNavTab class extending NavTab and updated navTabClassMap and navPathMap to register web-agent navigation configuration.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 A web-agent arrives, with tabs so bright,
Sidebars configured, navigation set right,
Routes and redirects dance in the file,
Documentation flows with elegant style,
Welcome, dear agent, to this docs compile! 🌟

🚥 Pre-merge checks | ✅ 3 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Merge Conflict Detection ⚠️ Warning ❌ Merge conflicts detected (6 files):

⚔️ .gitmodules (content)
⚔️ .vitepress/config.mts (content)
⚔️ .vitepress/theme/Layout.vue (content)
⚔️ .vitepress/theme/components/CustomHeader.vue (content)
⚔️ .vitepress/theme/entity/nav-tab.ts (content)
⚔️ tiny-robot (content)

These conflicts must be resolved before merging into dev.
Resolve conflicts locally and push changes to this branch.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changes: adding a web-agent submodule and integrating its documentation into the site. It is specific, concise, and captures the primary objective despite a minor typo ('intergate' instead of 'integrate').
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/intergateWebAgentDoc

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@chilingling chilingling changed the title feat/intergate web agent doc feat: add submodule: [web-agent] and intergate docs into doc site Feb 13, 2026
@chilingling chilingling force-pushed the feat/intergateWebAgentDoc branch from 23f5d75 to e5518c6 Compare February 13, 2026 07:43
@kagol kagol merged commit 0326bce into dev Feb 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants