Make Fundamentals the starting page. Merge LICENSE from main#427
Conversation
CLI rework
cli: add provider-tools guide
add cli guides, hide whitepaper
Update fundamentals/certification-system; add Python example guide
sync with develop
minor-fixes
Add vllm guide for swarm
Add swarm S3 guide
Add Swarm docs, archive old docs
WalkthroughThe PR adds a Business Source License 1.1 to the repository and restructures the documentation site to serve fundamentals and CLI documentation as independent Docusaurus sections, each with separate routing and plugins, updating the homepage default redirect accordingly and adjusting sidebar ordering. ChangesDocumentation Site Restructuring and License
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add 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 |
There was a problem hiding this comment.
🧹 Nitpick comments (2)
docusaurus.config.js (2)
33-36: 💤 Low valueConsider removing the commented code.
Since the homepage redirect is now handled in
src/pages/index.js, the commented configuration is no longer needed and can be removed to keep the codebase clean.♻️ Suggested cleanup
redirects: [ - /*{ // See src/pages/index.js - from: "/", - to: "/cli", - },*/ { from: "/archive/data-for-ai",🤖 Prompt for 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. In `@docusaurus.config.js` around lines 33 - 36, Remove the now-obsolete commented route object in docusaurus.config.js (the block containing from: "/" and to: "/cli") since homepage redirect is implemented in src/pages/index.js; delete that commented code block to clean up the config and leave no residual commented routing entries.
145-145: 💤 Low valueConsider aligning the order with the navbar for consistency.
The
docsRouteBasePatharray lists"cli"before"fundamentals", while the navbar items list "Fundamentals" first. Although the order doesn't affect functionality (search will index both paths), aligning the order with the navbar configuration would improve consistency.♻️ Suggested alignment
- docsRouteBasePath: ["cli", "fundamentals"], + docsRouteBasePath: ["fundamentals", "cli"],🤖 Prompt for 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. In `@docusaurus.config.js` at line 145, The docsRouteBasePath array order is inconsistent with the navbar; update the docsRouteBasePath setting (the docsRouteBasePath array) to list "fundamentals" before "cli" so it aligns with the navbar order (i.e., change ["cli","fundamentals"] to ["fundamentals","cli"]) to maintain consistent ordering across config.
🤖 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.
Nitpick comments:
In `@docusaurus.config.js`:
- Around line 33-36: Remove the now-obsolete commented route object in
docusaurus.config.js (the block containing from: "/" and to: "/cli") since
homepage redirect is implemented in src/pages/index.js; delete that commented
code block to clean up the config and leave no residual commented routing
entries.
- Line 145: The docsRouteBasePath array order is inconsistent with the navbar;
update the docsRouteBasePath setting (the docsRouteBasePath array) to list
"fundamentals" before "cli" so it aligns with the navbar order (i.e., change
["cli","fundamentals"] to ["fundamentals","cli"]) to maintain consistent
ordering across config.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 7f7f4eb1-15da-40e7-b928-f0acb7debd22
📒 Files selected for processing (4)
LICENSEdocs/fundamentals/index.mddocusaurus.config.jssrc/pages/index.js
Summary by CodeRabbit
Documentation
Chores