- Changed all occurrences of "DMAD-METHOD" to "BMAD-METHOD" in documentation and memory files to reflect the new project branding. - Updated repository links in mkdocs.yml, index.md, README.md, and various setup documentation to point to the new GitHub repository. - Ensured consistency across all documentation files regarding project naming, enhancing clarity and alignment with the updated branding. - Improved overall documentation accuracy to facilitate better user guidance and onboarding. |
||
|---|---|---|
| .. | ||
| assets/images | ||
| commands | ||
| getting-started | ||
| images | ||
| reference | ||
| setup-configuration | ||
| workflows | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| commit.md | ||
| ide-setup.md | ||
| index.md | ||
| instruction.md | ||
| recommended-ide-plugins.md | ||
| workflow-diagram.md | ||
README.md
BMad Method Documentation
This directory contains the source files for the BMad Method Documentation website, built with MkDocs and the Material theme.
Quick Start
Local Development
-
Install MkDocs and dependencies:
pip install mkdocs-material mkdocs-minify-plugin PyYAML requests -
Serve documentation locally:
mkdocs serve -
View documentation: Open http://localhost:8000
Build Static Site
mkdocs build
The built site will be in the site/ directory.
Documentation Structure
docs/
├── index.md # Homepage
├── getting-started/ # New user onboarding
│ ├── index.md # Getting started overview
│ ├── installation.md # Installation guide
│ ├── verification.md # Setup verification
│ └── first-project.md # First project tutorial
├── commands/ # Command reference
│ ├── index.md # Commands overview
│ ├── orchestrator.md # Core orchestrator commands
│ ├── agents.md # Agent-specific commands
│ └── quick-reference.md # Auto-generated command reference
├── workflows/ # Workflows and best practices
│ ├── index.md # Workflow overview
│ ├── mvp-development.md # Complete MVP example
│ ├── persona-switching.md # Using different personas
│ └── best-practices.md # Quality and methodology
├── examples/ # Real-world examples
│ ├── index.md # Examples overview
│ ├── web-app.md # Building a web application
│ ├── api-service.md # Creating an API service
│ └── troubleshooting.md # Common issues and solutions
├── reference/ # Technical reference
│ ├── index.md # Reference overview
│ ├── personas.md # Auto-generated personas reference
│ ├── tasks.md # Available tasks
│ ├── quality-framework.md # Quality standards
│ └── memory-system.md # Memory and learning features
└── assets/ # Images, videos, and other assets
├── images/
└── videos/
Automation Scripts
Command Synchronization
Automatically generates command reference documentation from the BMad system:
python scripts/sync-commands.py
Generated files:
docs/commands/quick-reference.md- Complete command referencedocs/reference/personas.md- Available agents and their tasks
Content Validation
Validates documentation for common issues:
python scripts/validate-content.py
Checks performed:
- Markdown syntax validation
- Internal link validation
- External link validation (when not in CI)
- Content standards compliance
- MkDocs configuration validation
Writing Guidelines
Content Standards
- Scannable: Use headings, bullets, and clear structure
- Action-oriented: Start with what users can do
- Examples-first: Show, then explain
- Progressive detail: Essential info first, details via links
- Mobile-friendly: Short paragraphs, clear formatting
Markdown Conventions
- Headings: Use proper hierarchy (H1 → H2 → H3)
- Code blocks: Always specify language (
bash,python, etc.) - Links: Use descriptive text, validate all links
- Line length: Keep lines under 120 characters for readability
- Images: Include alt text, optimize for web
File Naming
- Use lowercase with hyphens:
getting-started.md - Be descriptive:
mvp-development.mdnotexample1.md - Match URL structure:
workflows/best-practices.md→/workflows/best-practices/
Contributing
Adding New Content
- Create the markdown file in the appropriate directory
- Add to navigation in
mkdocs.yml - Run validation to check for issues:
python scripts/validate-content.py - Test locally with
mkdocs serve - Submit pull request
Updating Command Reference
Command references are auto-generated from the BMad system. To update:
- Modify source files in
bmad-agent/directory - Run sync script:
python scripts/sync-commands.py - Review generated files and commit changes
Content Review Process
- Validation: All content must pass validation checks
- Testing: Test all examples and installation steps
- Review: Peer review for accuracy and clarity
- Deployment: Automatic deployment via GitHub Actions
Deployment
Documentation is automatically deployed to GitHub Pages when changes are pushed to the main branch.
Manual Deployment
If needed, you can deploy manually:
mkdocs gh-deploy
GitHub Actions
The repository includes GitHub Actions workflows for:
- docs-deploy.yml: Automatic deployment to GitHub Pages
- docs-validate.yml: Content validation on pull requests
Troubleshooting
Common Issues
MkDocs won't start:
pip install --upgrade mkdocs-material
Validation errors:
- Check the specific error message
- Run
python scripts/validate-content.pyfor details - Fix issues and re-validate
Missing dependencies:
pip install -r requirements.txt
Build errors:
- Check
mkdocs.ymlsyntax - Ensure all referenced files exist
- Run
mkdocs build --strictfor detailed errors
Getting Help
- Check existing GitHub Issues
- Review validation output for specific guidance
- Test with a fresh MkDocs installation
- Create a new issue with error details and system information
Performance
The documentation is optimized for:
- Load time: <1 second for static content
- Search: <100ms response time (client-side)
- Mobile: Excellent performance on all devices
- SEO: Static HTML with proper metadata
Architecture
- Static site generator: MkDocs with Material theme
- Hosting: GitHub Pages with global CDN
- Search: Client-side search with offline capability
- Analytics: Privacy-focused analytics (when configured)
- Content: Markdown files with front matter
- Automation: Python scripts for validation and sync
For more information about BMad Method, visit the main documentation or the GitHub repository.