Skip to content

Conversation

@forcetrainer
Copy link
Contributor

@forcetrainer forcetrainer commented Jan 3, 2026

Summary

  • Updated website/sidebars.js to match actual docs folder structure (paths like modules/bmm-bmad-method/ instead of non-existent modules/bmm/)
  • Fixed broken image path in workflows-guide.md that prevented Docusaurus from building
  • Removed empty "IDE Guides" category that caused build errors
  • Fixed build script

Prep work for documentation update so the pages build properly on commit.

forcetrainer and others added 3 commits January 2, 2026 23:22
Sidebar referenced non-existent paths (modules/bmm/, getting-started/, etc.)
while actual docs live in different locations (modules/bmm-bmad-method/,
bmad-core-concepts/, etc.). Updated sidebar to match reality so Docusaurus
can build successfully.

Also fixed broken image reference in workflows-guide.md that used an
incorrect relative path.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
The build script was excluding the modules folder when copying from docs/,
but module docs now live in docs/modules/ instead of src/modules/*/docs/.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Fixed relative paths that were pointing to non-existent locations:
- bmgd index: ../../bmm/docs/index.md → ../bmm/index.md
- cis index: ../../bmm/docs/index.md → ../bmm/index.md
- bmm faq: ./README.md → GitHub URL

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@alexeyv
Copy link
Contributor

alexeyv commented Jan 3, 2026

@CodeRabbit review

@coderabbitai
Copy link

coderabbitai bot commented Jan 3, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai
Copy link

coderabbitai bot commented Jan 3, 2026

📝 Walkthrough

Walkthrough

Documentation and build configuration updates to reflect new module naming conventions. Changes migrate path structures from legacy names (e.g., bmm-*, bmgd-*) to standardized naming (e.g., bmad-method, bmad-game-dev) and reorganize sidebar navigation and documentation links accordingly.

Changes

Cohort / File(s) Summary
Documentation Link Updates
docs/modules/bmgd-bmad-game-dev/index.md, docs/modules/cis-creative-intelligence-suite/index.md
Updated BMM Documentation link references from ../../bmm/docs/index.md to ../bmm/index.md to reflect new module path structure
Documentation Path References
docs/modules/bmgd-bmad-game-dev/workflows-guide.md
Changed image source from absolute-style relative path ../../../../docs/modules/bmgd-bmad-game-dev/workflow-overview.jpg to local scoped path ./workflow-overview.jpg
Help Documentation Links
docs/modules/bmm-bmad-method/faq.md
Updated help documentation link from relative path ./README.md to canonical GitHub URL https://github.com/bmad-code-org/BMAD-METHOD/blob/main/README.md
Build Configuration
tools/build-docs.js
Modified copyMainDocs function to include modules directory and copy llms.txt and llms-full.txt, reflecting docs relocation to docs/modules/
Sidebar Navigation Structure
website/sidebars.js
Comprehensive reorganization: renamed "Getting Started" to "Core Concepts", replaced deprecated module paths across BMM, BMB, BMGD sections with new naming conventions (e.g., bmad-method, bmad-game-dev, bmad-builder), updated reference paths, consolidated categories including new "Customization" subcategory, and renamed "Reference" to "Core Module"

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested reviewers

  • bmadcode

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Docusaurus build fix - Sidebar and missing image issues' accurately summarizes the main changes: fixing sidebar paths, resolving image issues, and addressing build problems in the Docusaurus documentation setup.
Description check ✅ Passed The description is directly related to the changeset, explaining the key fixes applied: sidebar structure updates, broken image path resolution, empty category removal, and build script adjustments.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

Copy link

@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.

Actionable comments posted: 2

Caution

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

⚠️ Outside diff range comments (1)
tools/build-docs.js (1)

129-173: Remove copyModuleDocs or complete the docs migration for all modules consistently.

The code creates documentation at inconsistent paths:

  1. copyMainDocs copies docs/modules/bmb-bmad-builder/, bmgd-bmad-game-dev/, etc. to modules/bmb-bmad-builder/, modules/bmgd-bmad-game-dev/, etc. (long names)
  2. copyModuleDocs attempts to copy from src/modules/{short-name}/docs/ to modules/{short-name}/ — but:
    • src/modules/bmb/docs/ still exists and creates modules/bmb/ (short name)
    • src/modules/bmm/, bmgd/, cis/ docs don't exist; the function logs warnings for each

This results in bmb documentation appearing at two different paths (modules/bmb/ and modules/bmb-bmad-builder/), which will break sidebar navigation and links expecting the long-form path names.

Action required: Either delete copyModuleDocs and move remaining src/modules/bmb/docs/ content to docs/modules/bmb-bmad-builder/, or remove old docs from src/modules/ entirely to complete the migration consistently.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 05ddc2d and 22ccc20.

📒 Files selected for processing (6)
  • docs/modules/bmgd-bmad-game-dev/index.md
  • docs/modules/bmgd-bmad-game-dev/workflows-guide.md
  • docs/modules/bmm-bmad-method/faq.md
  • docs/modules/cis-creative-intelligence-suite/index.md
  • tools/build-docs.js
  • website/sidebars.js
🧰 Additional context used
📓 Path-based instructions (2)
**/*

⚙️ CodeRabbit configuration file

**/*: Focus on inconsistencies, contradictions, edge cases and serious issues.
Avoid commenting on minor issues such as linting, formatting and style issues.
When providing code suggestions, use GitHub's suggestion format:

<code changes>

Files:

  • docs/modules/bmgd-bmad-game-dev/workflows-guide.md
  • docs/modules/cis-creative-intelligence-suite/index.md
  • docs/modules/bmgd-bmad-game-dev/index.md
  • tools/build-docs.js
  • website/sidebars.js
  • docs/modules/bmm-bmad-method/faq.md
**/*.js

⚙️ CodeRabbit configuration file

**/*.js: CLI tooling code. Check for: missing error handling on fs operations,
path.join vs string concatenation, proper cleanup in error paths.
Flag any process.exit() without error message.

Files:

  • tools/build-docs.js
  • website/sidebars.js
🔇 Additional comments (3)
docs/modules/bmm-bmad-method/faq.md (1)

513-513: Link update looks good.

Correctly updated to point to the canonical GitHub README location, consistent with the build pipeline's approach of keeping root documentation files on GitHub rather than in the docs site.

docs/modules/bmgd-bmad-game-dev/workflows-guide.md (1)

11-11: Image path update looks good.

Correctly simplified from the complex ../../../../docs/modules/bmgd-bmad-game-dev/workflow-overview.jpg to the local ./workflow-overview.jpg. This assumes the image file exists in the same directory as the markdown file, which aligns with the new documentation structure.

website/sidebars.js (1)

1-134: Sidebar configuration is correctly aligned with documentation structure.

All 49 referenced documentation paths exist in the docs folder. The sidebar configuration follows Docusaurus conventions and maintains consistent naming patterns across modules:

  • bmad-core-concepts/* paths verified
  • modules/bmm-bmad-method/* paths verified
  • modules/bmb-bmad-builder/* paths verified
  • modules/bmgd-bmad-game-dev/* paths verified
  • modules/cis-creative-intelligence-suite/* paths verified
  • modules/core/* paths verified

The changes successfully align the sidebar with the actual documentation structure.

### Related Documentation

- **[BMM Documentation](../../bmm/docs/index.md)** - Core BMad Method documentation
- **[BMM Documentation](../bmm/index.md)** - Core BMad Method documentation
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

Incorrect path: link points to ../bmm/ but folder is bmm-bmad-method/.

The PR migrates the BMM module from modules/bmm/ to modules/bmm-bmad-method/, but this link still uses the old short name.

Current link: ../bmm/index.md
Expected path: ../bmm-bmad-method/index.md

This will result in a broken link (404) when the docs are built.

🔎 Fix the documentation link path
Suggested change
- **[BMM Documentation](../bmm/index.md)** - Core BMad Method documentation
- **[BMM Documentation](../bmm-bmad-method/index.md)** - Core BMad Method documentation
🤖 Prompt for AI Agents
In docs/modules/bmgd-bmad-game-dev/index.md around line 164 the link targets the
old module path ../bmm/index.md which no longer exists; update the link to
../bmm-bmad-method/index.md so it points to the migrated BMM module (replace
../bmm/index.md with ../bmm-bmad-method/index.md).

## Related Documentation

- **[BMM Documentation](../../bmm/docs/index.md)** - Core BMad Method documentation
- **[BMM Documentation](../bmm/index.md)** - Core BMad Method documentation
Copy link

@coderabbitai coderabbitai bot Jan 3, 2026

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

Incorrect path: link points to ../bmm/ but folder is bmm-bmad-method/.

Same issue as in the BMGD index file. The BMM module folder is now bmm-bmad-method, not bmm.

Current link: ../bmm/index.md
Expected path: ../bmm-bmad-method/index.md

🔎 Fix the documentation link path
Suggested change
- **[BMM Documentation](../bmm/index.md)** - Core BMad Method documentation
- **[BMM Documentation](../bmm-bmad-method/index.md)** - Core BMad Method documentation
🤖 Prompt for AI Agents
In docs/modules/cis-creative-intelligence-suite/index.md around line 145, the
documentation link targets the wrong folder (`../bmm/index.md`); update the link
to point to the renamed folder by changing the path to
`../bmm-bmad-method/index.md` so the markdown link resolves to the correct BMM
module index file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These issues were noted during build, and since the docs are going to be moved completely to new directories, the focus on this PR was to get the build flow working again.

Copy link

Choose a reason for hiding this comment

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

@forcetrainer, understood! Makes sense to focus on getting the build working first. Since you're planning a broader docs reorganization, it's fine to address these path inconsistencies as part of that future work. Thanks for the context! 👍

@bmadcode
Copy link
Collaborator

bmadcode commented Jan 3, 2026

Thanks @forcetrainer !

@bmadcode bmadcode merged commit d1f3844 into bmad-code-org:main Jan 3, 2026
4 checks 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.

3 participants