docs: add cli docs#355
Conversation
WalkthroughThis PR reorganizes CLI documentation by creating a comprehensive new CLI integration guide, promotes CLI usage throughout the quick-start guide, updates navigation to expose the new guide, and performs minor CSS class cleanup on the layout component. ChangesCLI Documentation Reorganization
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~8 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
📦 Package Previewpnpm add https://pkg.pr.new/@opentiny/tiny-robot@66095c8 pnpm add https://pkg.pr.new/@opentiny/tiny-robot-kit@66095c8 pnpm add https://pkg.pr.new/@opentiny/tiny-robot-svgs@66095c8 commit: 66095c8 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/src/guide/cli-integration.md`:
- Around line 118-125: The heading "API_KEY" is ambiguous compared to the
example env var; update the text in cli-integration.md to explicitly name and
use a single environment variable (VITE_DEEPSEEK_API_KEY) everywhere: replace
the generic heading "API_KEY" with "VITE_DEEPSEEK_API_KEY" (or add a clarifying
sentence "Use VITE_DEEPSEEK_API_KEY as generated by the CLI"), ensure the
example shows VITE_DEEPSEEK_API_KEY=your_api_key and add one line stating "The
CLI-generated key must be set in VITE_DEEPSEEK_API_KEY" so the variable name is
unique and unambiguous.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 015d8a92-edc6-4050-9dbf-1b170d237cde
📒 Files selected for processing (5)
docs/.vitepress/theme/Layout.vuedocs/.vitepress/themeConfig.tsdocs/src/guide/cli-integration.mddocs/src/guide/quick-start.mddocs/src/tools/cli.md
💤 Files with no reviewable changes (1)
- docs/src/tools/cli.md
🧹 Preview Cleaned UpThe preview deployment has been removed. |

实际上就是 Layout 组件的 class 类名匹配到了 @opentiny/vue-theme 的一个选择器,导致很多样式变成 @opentiny/vue-theme 的样式了