Skip to content

Commit 19df17b

Browse files
authored
feat: add documentation website with Docusaurus build pipeline (#1177)
* feat: add documentation website with Docusaurus build pipeline * feat(docs): add AI discovery meta tags for llms.txt files - Add global headTags with ai-terms, llms, llms-full meta tags - Update landing page link to clarify AI context purpose * fix(docs): restore accidentally deleted faq.md and glossary.md Files were removed in 12dd97f during path restructuring. * fix(docs): update broken project-readme links to GitHub URL * feat(schema): add compound trigger format validation
1 parent 925b715 commit 19df17b

File tree

163 files changed

+26063
-6694
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+26063
-6694
lines changed

.github/workflows/docs.yaml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: Deploy Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "docs/**"
9+
- "src/modules/*/docs/**"
10+
- "website/**"
11+
- "tools/build-docs.js"
12+
- ".github/workflows/docs.yaml"
13+
workflow_dispatch:
14+
15+
permissions:
16+
contents: read
17+
pages: write
18+
id-token: write
19+
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
jobs:
25+
build:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v4
30+
with:
31+
fetch-depth: 0
32+
33+
- name: Setup Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: "20"
37+
cache: "npm"
38+
39+
- name: Install dependencies
40+
run: npm ci
41+
42+
- name: Determine site URL
43+
id: site-url
44+
run: |
45+
if [ "${{ github.repository }}" = "bmad-code-org/BMAD-METHOD" ]; then
46+
echo "url=https://bmad-code-org.github.io/BMAD-METHOD" >> $GITHUB_OUTPUT
47+
else
48+
OWNER="${{ github.repository_owner }}"
49+
REPO="${{ github.event.repository.name }}"
50+
echo "url=https://${OWNER}.github.io/${REPO}" >> $GITHUB_OUTPUT
51+
fi
52+
53+
- name: Build documentation
54+
env:
55+
SITE_URL: ${{ steps.site-url.outputs.url }}
56+
run: npm run docs:build
57+
58+
- name: Upload artifact
59+
uses: actions/upload-pages-artifact@v3
60+
with:
61+
path: build/site
62+
63+
deploy:
64+
environment:
65+
name: github-pages
66+
url: ${{ steps.deployment.outputs.page_url }}
67+
runs-on: ubuntu-latest
68+
needs: build
69+
steps:
70+
- name: Deploy to GitHub Pages
71+
id: deployment
72+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,8 @@ _bmad
7474
.kiro/
7575
.roo
7676

77-
bmad-custom-src/
77+
bmad-custom-src/
78+
79+
# Docusaurus / Documentation Build
80+
.docusaurus/
81+
build/

CONTRIBUTING.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,8 @@ Each commit should represent one logical change:
236236
3. **Don't paste code in issues** - create a proper PR instead
237237
4. **Don't submit your whole project** - contribute specific improvements
238238

239-
## Code Style
239+
## Prompt & Agent Guidelines
240240

241-
- Follow the existing code style and conventions
242-
- Write clear comments for complex logic
243241
- Keep dev agents lean - they need context for coding, not documentation
244242
- Web/planning agents can be larger with more complex tasks
245243
- Everything is natural language (markdown) - no code in core framework

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ The completely revamped **BMAD V6 installer** now includes built-in support for
2626

2727
- [**Custom Content Overview**](./docs/custom-content.md) - Discover all supported content types
2828
- [**Installation Guide**](./docs/custom-content-installation.md) - Learn to create and install custom content
29-
- [**Detail Content Docs**](./src/modules/bmb/docs/README.md) - Reference details for agents, modules, workflows and the bmad builder
30-
- [**2 Very simple Custom Modules of questionable quality**](./docs/sample-custom-modules/README.md) - if you want to download and try to install a custom shared module, get an idea of how to bundle and share your own, or create your own personal agents, workflows and modules.
29+
- [**Detail Content Docs**](./src/modules/bmb/docs/index.md) - Reference details for agents, modules, workflows and the bmad builder
30+
- [**2 Very simple Custom Modules of questionable quality**](./samples/sample-custom-modules/README.md) - if you want to download and try to install a custom shared module, get an idea of how to bundle and share your own, or create your own personal agents, workflows and modules.
3131

3232
</div>
3333

@@ -142,18 +142,17 @@ Each agent brings deep expertise and can be customized to match your team's styl
142142
- 12 specialized agents
143143
- 34 workflows across 4 phases
144144
- Scale-adaptive planning
145-
- [→ Documentation Hub](./src/modules/bmm/docs/README.md)
145+
- [→ Documentation Hub](./src/modules/bmm/docs/index.md)
146146

147147
- **BMad Builder (BMB)** - Create custom agents and workflows
148148
- Build anything from simple agents to complex modules
149149
- Create domain-specific solutions (legal, medical, finance, education)
150-
- [→ Builder Guide](src/modules/bmb/docs/README.md) marketplace
151-
- [→ Builder Guide](./src/modules/bmb/README.md)
150+
- [→ Builder Guide](./src/modules/bmb/docs/index.md)
152151

153152
- **Creative Intelligence Suite (CIS)** - Innovation & problem-solving
154153
- Brainstorming, design thinking, storytelling
155154
- 5 creative facilitation workflows
156-
- [→ Creative Workflows](src/modules/cis/docs/README.md)
155+
- [→ Creative Workflows](./src/modules/cis/docs/index.md)
157156

158157
### Key Features
159158

@@ -168,7 +167,7 @@ Each agent brings deep expertise and can be customized to match your team's styl
168167
### Quick Links
169168

170169
- **[Quick Start Guide](./src/modules/bmm/docs/quick-start.md)** - 15-minute introduction
171-
- **[Complete BMM Documentation](./src/modules/bmm/docs/README.md)** - All guides and references
170+
- **[Complete BMM Documentation](./src/modules/bmm/docs/index.md)** - All guides and references
172171
- **[Agent Customization](./docs/agent-customization-guide.md)** - Personalize your agents
173172
- **[All Documentation](./docs/index.md)** - Complete documentation index
174173

docs/agent-customization-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,6 @@ memories:
203203

204204
## Next Steps
205205

206-
- **[BMM Agents Guide](../src/modules/bmm/docs/agents-guide.md)** - Learn about the BMad Method agents
207-
- **[BMB Create Agent Workflow](../src/modules/bmb/workflows/create-agent/README.md)** - Build completely custom agents
208-
- **[BMM Complete Documentation](../src/modules/bmm/docs/README.md)** - Full BMad Method reference
206+
- **[BMM Agents Guide](./modules/bmm/agents-guide)** - Learn about the BMad Method agents
207+
- **[BMB Create Agent Workflow](./modules/bmb/agents/index)** - Build completely custom agents
208+
- **[BMM Complete Documentation](./modules/bmm/index)** - Full BMad Method reference

docs/custom-content-installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This guide explains how to create and install custom BMAD content including agen
44

55
For detailed information about the different types of custom content available, see [Custom Content](./custom-content.md).
66

7-
If you download either of the folders within the [Sample Custom Modules](./sample-custom-modules/readme.md) folder
7+
You can find example custom modules in the `samples/sample-custom-modules/` folder of the repository. Download either of the sample folders to try them out.
88

99
## Content Types Overview
1010

docs/document-sharding-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,8 @@ input_file_patterns:
441441
## Related Documentation
442442

443443
- [shard-doc Tool](../src/core/tools/shard-doc.xml) - Tool implementation
444-
- [BMM Workflows Guide](../src/modules/bmm/workflows/README.md) - Workflow overview
445-
- [Workflow Creation Guide](../src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md) - Custom workflow patterns
444+
- [BMM Workflows Guide](./modules/bmm/index.md#-workflow-guides) - Workflow overview
445+
- [Workflow Creation Guide](./modules/bmb/workflows/index) - Custom workflow patterns
446446

447447
---
448448

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Installation
2+
3+
Get BMAD Method running in your project in under 2 minutes.
4+
5+
## Quick Install
6+
7+
```bash
8+
npx bmad-method@alpha install
9+
```
10+
11+
This interactive installer will:
12+
13+
1. Detect your IDE (Claude Code, Cursor, VS Code, etc.)
14+
2. Let you choose which modules to install
15+
3. Configure agents and workflows for your project
16+
17+
## Requirements
18+
19+
- **Node.js** 18+ (for the installer)
20+
- **Git** (recommended for version control)
21+
- An **AI-powered IDE** or access to Claude/ChatGPT/Gemini
22+
23+
## Module Options
24+
25+
During installation, you'll choose which modules to install:
26+
27+
| Module | Description | Best For |
28+
| -------- | ---------------- | ---------------------------------------- |
29+
| **BMM** | BMAD Method Core | Software development projects |
30+
| **BMGD** | Game Development | Game projects with specialized workflows |
31+
| **BMB** | Builder | Creating custom agents and workflows |
32+
33+
## Post-Installation
34+
35+
After installation, your project will have:
36+
37+
```
38+
your-project/
39+
├── _bmad/ # BMAD configuration and agents
40+
│ ├── bmm/ # Method module (if installed)
41+
│ ├── bmgd/ # Game dev module (if installed)
42+
│ └── config.yaml # Your project configuration
43+
├── .claude/ # IDE-specific setup (varies by IDE)
44+
└── ... your code
45+
```
46+
47+
## Next Steps
48+
49+
1. **Read the [Quick Start Guide](../modules/bmm/quick-start.md)** to build your first feature
50+
2. **Check your [IDE Guide](../ide-info/index.md)** for IDE-specific tips
51+
3. **Explore [Workflows](../modules/bmm/workflows-planning.md)** to understand the methodology
52+
53+
## Alternative: Web Bundles
54+
55+
Don't want to install? Use BMAD agents directly in:
56+
57+
- **Claude Projects** - Upload the web bundle
58+
- **ChatGPT** - Use custom GPT bundles
59+
- **Gemini** - Import agent prompts
60+
61+
See the [Web Bundles Guide](../web-bundles-gemini-gpt-guide.md) for details.
62+
63+
## Troubleshooting
64+
65+
### Common Issues
66+
67+
**"Command not found: npx"**
68+
: Install Node.js 18+ from [nodejs.org](https://nodejs.org)
69+
70+
**"Permission denied"**
71+
: Run with appropriate permissions or check your npm configuration
72+
73+
**IDE not detected**
74+
: The installer will prompt you to select your IDE manually
75+
76+
For more help, see [Troubleshooting](../modules/bmm/troubleshooting.md) or join our [Discord](https://discord.gg/bmad).

docs/ide-info/index.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# IDE Guides
2+
3+
BMAD Method works with any AI-powered development environment. Choose your IDE below for specific setup instructions and tips.
4+
5+
## All Supported IDEs
6+
7+
| IDE | Type | BMAD Support |
8+
| ----------------------------------- | ----------------- | --------------------- |
9+
| [Claude Code](claude-code.md) | CLI/Terminal | Native slash commands |
10+
| [Cursor](cursor.md) | Desktop Editor | Full agent support |
11+
| [VS Code / Windsurf](windsurf.md) | Desktop Editor | Extension-based |
12+
| [Cline](cline.md) | VS Code Extension | Full support |
13+
| [GitHub Copilot](github-copilot.md) | Extension | Workspace agents |
14+
| [Augment](auggie.md) | Extension | Agent loading |
15+
| [Codex](codex.md) | CLI | Prompt injection |
16+
| [Gemini](gemini.md) | Web/API | Web bundles |
17+
| [Roo](roo.md) | VS Code Extension | Mode support |
18+
| [Kilo](kilo.md) | Extension | Basic support |
19+
| [OpenCode](opencode.md) | Open Source | Full support |
20+
| [Qwen](qwen.md) | Web/API | Web bundles |
21+
| [Trae](trae.md) | Extension | Basic support |
22+
| [Crush](crush.md) | Desktop | Agent support |
23+
| [iFlow](iflow.md) | Extension | Prompt loading |
24+
| [Rovo Dev](rovo-dev.md) | Atlassian | Integration |

0 commit comments

Comments
 (0)