Skip to content

docs: align docs paths and onboarding prerequisites#111

Merged
yacosta738 merged 4 commits into
mainfrom
docstemp
Feb 28, 2026
Merged

docs: align docs paths and onboarding prerequisites#111
yacosta738 merged 4 commits into
mainfrom
docstemp

Conversation

@yacosta738
Copy link
Copy Markdown
Contributor

@yacosta738 yacosta738 commented Feb 28, 2026

This pull request refactors documentation and build system references to clarify the project's structure and update tooling instructions. The main changes are the migration of documentation references from docs to clients/web/apps/docs, updates to build commands to use pnpm instead of Gradle for documentation, and improvements to documentation in both English and Spanish to reflect the new organization and prerequisites.

Project structure and documentation updates:

  • Updated all references to the documentation directory from docs to clients/web/apps/docs across the codebase, including the architecture and structure guides in both English and Spanish. This clarifies that documentation is now located in the web monorepo. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

  • Improved documentation to describe the web monorepo structure, detailing sub-apps for docs, dashboard, and marketing, and specifying the agent runtime as a Rust project. [1] [2]

Build system and tooling changes:

  • Switched documentation build, check, format, and dev commands in the Makefile from Gradle tasks to direct pnpm commands in the new documentation directory, reflecting the migration to a JavaScript-based documentation system. [1] [2]

Prerequisites and contributing guide updates:

  • Updated prerequisites in the "Getting Started" guides (English and Spanish) to include Rust, Node.js, pnpm, and Docker, aligning with the new tech stack. [1] [2]

  • Improved links and instructions in the README.md for accessing documentation and contributing, including a direct link to the contributing guide. [1] [2]

Summary by CodeRabbit

  • Documentation

    • Updated project structure to reflect a web monorepo (docs, dashboard, marketing) and moved documentation sources into the docs app paths.
    • Clarified setup prerequisites with explicit tool versions (Java, Rust, Node.js, pnpm, Docker).
    • Rewrote architecture and structure guides, removing legacy build/dependency sections and adjusting paths.
  • Chores

    • Switched documentation build/check/format/dev commands from Gradle to pnpm and updated the docs module path resolution.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Feb 28, 2026

📝 Walkthrough

Walkthrough

Updates documentation build targets to use pnpm in the web monorepo and revises site content to reflect a restructured clients/web layout (apps/docs, apps/dashboard, apps/marketing), plus expanded prerequisites and path adjustments in English and Spanish guides.

Changes

Cohort / File(s) Summary
Build Configuration
Makefile
Replaces Gradle-based docs targets with pnpm commands and sets DOCS_MODULE=web, running commands in clients/$(DOCS_MODULE)/apps/docs.
Project Metadata
README.md
Converts inline text references to Markdown links for Documentation and Contributing paths.
Docs — English content
clients/web/apps/docs/src/content/docs/en/guides/architecture.md, clients/web/apps/docs/src/content/docs/en/guides/getting-started.md, clients/web/apps/docs/src/content/docs/en/guides/structure.md
Reframes web as a monorepo (apps/docs, apps/dashboard, apps/marketing); moves/renames docs→dev for local development; expands prerequisites (Java, Rust, Node.js, pnpm, Docker); removes build/dependency sections.
Docs — Spanish content
clients/web/apps/docs/src/content/docs/es/guides/architecture.md, clients/web/apps/docs/src/content/docs/es/guides/getting-started.md, clients/web/apps/docs/src/content/docs/es/guides/structure.md
Mirrors English changes: monorepo wording, docs→dev relocation, expanded prerequisites, path updates to src/content/docs/{es,en}, and AGENTS.md mention.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested labels

codex

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main changes: aligning documentation paths from docs to clients/web/apps/docs and updating onboarding prerequisites to reflect new tooling requirements.
Description check ✅ Passed The PR description covers all required template sections with clear details on project structure updates, build system changes, and prerequisites updates.
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 docstemp

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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 28, 2026

✅ Contributor Report

User: @yacosta738
Status: Passed (12/13 metrics passed)

Metric Description Value Threshold Status
PR Merge Rate PRs merged vs closed 89% >= 30%
Repo Quality Repos with ≥100 stars 0 >= 0
Positive Reactions Positive reactions received 9 >= 1
Negative Reactions Negative reactions received 0 <= 5
Account Age GitHub account age 3046 days >= 30 days
Activity Consistency Regular activity over time 100% >= 0%
Issue Engagement Issues with community engagement 0 >= 0
Code Reviews Code reviews given to others 378 >= 0
Merger Diversity Unique maintainers who merged PRs 2 >= 0
Repo History Merge Rate Merge rate in this repo 90% >= 0%
Repo History Min PRs Previous PRs in this repo 83 >= 0
Profile Completeness Profile richness (bio, followers) 90 >= 0
Suspicious Patterns Spam-like activity detection 1 N/A

Contributor Report evaluates based on public GitHub activity. Analysis period: 2025-02-28 to 2026-02-28

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Feb 28, 2026

Deploying corvus with  Cloudflare Pages  Cloudflare Pages

Latest commit: 24d4ba8
Status: ✅  Deploy successful!
Preview URL: https://faa29d8d.corvus-42x.pages.dev
Branch Preview URL: https://docstemp.corvus-42x.pages.dev

View logs

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
clients/web/apps/docs/src/content/docs/en/guides/architecture.md (1)

127-154: ⚠️ Potential issue | 🟡 Minor

Duplicate sections detected—remove redundant content.

Lines 127-154 ("Build Logic" and "Dependency Management") are exact duplicates of lines 60-89. This appears to be a copy-paste error.

🔧 Proposed fix: Remove duplicate sections
 See [Architecture Index](./architecture/index.md) for more details on how to visualize them.
-
-## Build Logic (Convention Plugins)
-
-Instead of repeating build logic in every `build.gradle.kts`, we use **Convention Plugins** located
-in `gradle/build-logic`.
-
-### Plugin Categories
-
-1. **Base Plugins**: Fundamental configuration like identity, lifecycle, and JVM conflict
-   resolution.
-2. **Module Plugins**: Language-specific configurations (`kotlin`, `java`, `spring-boot`).
-3. **Feature Plugins**: Opt-in features like `publish-library`, `shadow`, `test-fixtures`, and
-   `git-hook`.
-4. **Check Plugins**: Code quality and formatting tools (`spotless`, `detekt`, `spotbugs`).
-5. **Report Plugins**: Aggregated reports for testing, coverage, and SBOM.
-
-## Dependency Management
-
-We use **Gradle Version Catalogs** (`libs.versions.toml`) to define all dependencies and versions in
-a single location. This ensures consistency across all modules.
-
-### Example usage:
-
-```kotlin
-dependencies {
-    implementation(libs.kotlin.stdlib)
-    testImplementation(libs.junit.jupiter)
-}
-```
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@clients/web/apps/docs/src/content/docs/en/guides/architecture.md` around
lines 127 - 154, Remove the duplicated "Build Logic (Convention Plugins)" and
"Dependency Management" sections (including the example dependencies code block)
that repeat content already present earlier; keep a single copy of those
sections and delete the redundant copy starting at the second occurrence so
headings "Build Logic (Convention Plugins)", "Dependency Management" and the
code example using implementation(libs.kotlin.stdlib) /
testImplementation(libs.junit.jupiter) only appear once.
🧹 Nitpick comments (1)
Makefile (1)

35-35: Remove the unused DOCS_MODULE variable or refactor docs-web-* targets to use it.

The variable defined on line 35 is not referenced anywhere in the Makefile. All docs-web-* targets hardcode the path clients/web/apps/docs instead of using this variable. Either remove the unused variable or refactor the targets to reference it (e.g., @cd clients/$(DOCS_MODULE)/apps/docs && pnpm run build) for consistency.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@Makefile` at line 35, The Makefile defines DOCS_MODULE but never uses it;
update the docs-web-* targets to reference $(DOCS_MODULE) instead of hardcoding
clients/web/apps/docs (or remove DOCS_MODULE if you prefer deletion). Locate the
docs-web-* targets and replace occurrences of clients/web/apps/docs with
clients/$(DOCS_MODULE)/apps/docs (e.g., commands that cd to that path or run
pnpm from there) so the variable is actually used and keeps paths consistent
with DOCS_MODULE, or remove the DOCS_MODULE assignment if you choose to
eliminate the unused variable.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@clients/web/apps/docs/src/content/docs/en/guides/architecture.md`:
- Around line 127-154: Remove the duplicated "Build Logic (Convention Plugins)"
and "Dependency Management" sections (including the example dependencies code
block) that repeat content already present earlier; keep a single copy of those
sections and delete the redundant copy starting at the second occurrence so
headings "Build Logic (Convention Plugins)", "Dependency Management" and the
code example using implementation(libs.kotlin.stdlib) /
testImplementation(libs.junit.jupiter) only appear once.

---

Nitpick comments:
In `@Makefile`:
- Line 35: The Makefile defines DOCS_MODULE but never uses it; update the
docs-web-* targets to reference $(DOCS_MODULE) instead of hardcoding
clients/web/apps/docs (or remove DOCS_MODULE if you prefer deletion). Locate the
docs-web-* targets and replace occurrences of clients/web/apps/docs with
clients/$(DOCS_MODULE)/apps/docs (e.g., commands that cd to that path or run
pnpm from there) so the variable is actually used and keeps paths consistent
with DOCS_MODULE, or remove the DOCS_MODULE assignment if you choose to
eliminate the unused variable.

ℹ️ Review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between d4ac05c and c30c118.

📒 Files selected for processing (8)
  • Makefile
  • README.md
  • clients/web/apps/docs/src/content/docs/en/guides/architecture.md
  • clients/web/apps/docs/src/content/docs/en/guides/getting-started.md
  • clients/web/apps/docs/src/content/docs/en/guides/structure.md
  • clients/web/apps/docs/src/content/docs/es/guides/architecture.md
  • clients/web/apps/docs/src/content/docs/es/guides/getting-started.md
  • clients/web/apps/docs/src/content/docs/es/guides/structure.md

@sentry
Copy link
Copy Markdown

sentry Bot commented Feb 28, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
clients/web/apps/docs/src/content/docs/en/guides/architecture.md (1)

17-17: Consider clarifying the "monorepo" terminology.

The term "Web monorepo" might be confusing since the entire project structure appears to be a monorepo. Consider using "Web workspace" or simply "Web apps (docs, dashboard, marketing)" for clarity.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@clients/web/apps/docs/src/content/docs/en/guides/architecture.md` at line 17,
Replace the ambiguous comment on the directory line "└── web/                   
# Web monorepo (docs, dashboard, marketing)" with clearer wording—either "Web
workspace (docs, dashboard, marketing)" or "Web apps (docs, dashboard,
marketing)"—so readers don't assume the entire repo is a monorepo; update the
comment text adjacent to the "└── web/" entry accordingly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@clients/web/apps/docs/src/content/docs/en/guides/architecture.md`:
- Line 17: Replace the ambiguous comment on the directory line "└── web/        
# Web monorepo (docs, dashboard, marketing)" with clearer wording—either "Web
workspace (docs, dashboard, marketing)" or "Web apps (docs, dashboard,
marketing)"—so readers don't assume the entire repo is a monorepo; update the
comment text adjacent to the "└── web/" entry accordingly.

ℹ️ Review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between c30c118 and 19b6266.

📒 Files selected for processing (2)
  • Makefile
  • clients/web/apps/docs/src/content/docs/en/guides/architecture.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • Makefile

@sonarqubecloud
Copy link
Copy Markdown

@yacosta738 yacosta738 merged commit 290ea6a into main Feb 28, 2026
15 checks passed
@yacosta738 yacosta738 deleted the docstemp branch February 28, 2026 20:12
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.

1 participant