specweave 0.30.13 → 0.30.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +0 -11
- package/CLAUDE.md +1 -1
- package/README.md +32 -0
- package/bin/fix-marketplace-errors.sh +1 -1
- package/bin/specweave.js +28 -0
- package/dist/src/cli/commands/commits.d.ts +7 -0
- package/dist/src/cli/commands/commits.d.ts.map +1 -0
- package/dist/src/cli/commands/commits.js +42 -0
- package/dist/src/cli/commands/commits.js.map +1 -0
- package/dist/src/cli/commands/living-docs.d.ts +29 -0
- package/dist/src/cli/commands/living-docs.d.ts.map +1 -0
- package/dist/src/cli/commands/living-docs.js +350 -0
- package/dist/src/cli/commands/living-docs.js.map +1 -0
- package/dist/src/cli/helpers/ado-area-selector.js +1 -1
- package/dist/src/cli/helpers/ado-area-selector.js.map +1 -1
- package/dist/src/core/background/index.d.ts +2 -2
- package/dist/src/core/background/index.d.ts.map +1 -1
- package/dist/src/core/background/index.js +1 -1
- package/dist/src/core/background/index.js.map +1 -1
- package/dist/src/core/living-docs/living-docs-sync.d.ts +34 -10
- package/dist/src/core/living-docs/living-docs-sync.d.ts.map +1 -1
- package/dist/src/core/living-docs/living-docs-sync.js +223 -32
- package/dist/src/core/living-docs/living-docs-sync.js.map +1 -1
- package/dist/src/importers/ado-importer.js +2 -2
- package/dist/src/importers/ado-importer.js.map +1 -1
- package/dist/src/importers/item-converter.d.ts +6 -1
- package/dist/src/importers/item-converter.d.ts.map +1 -1
- package/dist/src/importers/item-converter.js +15 -2
- package/dist/src/importers/item-converter.js.map +1 -1
- package/dist/src/integrations/ado/ado-pat-provider.d.ts +3 -3
- package/dist/src/integrations/ado/ado-pat-provider.js +3 -3
- package/dist/src/living-docs/epic-id-allocator.d.ts +1 -1
- package/dist/src/living-docs/epic-id-allocator.js +1 -1
- package/dist/src/living-docs/fs-id-allocator.d.ts +1 -1
- package/dist/src/living-docs/fs-id-allocator.js +1 -1
- package/dist/src/living-docs/smart-doc-organizer.js +1 -1
- package/dist/src/living-docs/smart-doc-organizer.js.map +1 -1
- package/dist/src/utils/auth-helpers.d.ts +23 -0
- package/dist/src/utils/auth-helpers.d.ts.map +1 -1
- package/dist/src/utils/auth-helpers.js +51 -0
- package/dist/src/utils/auth-helpers.js.map +1 -1
- package/dist/src/utils/feature-id-collision.d.ts +48 -5
- package/dist/src/utils/feature-id-collision.d.ts.map +1 -1
- package/dist/src/utils/feature-id-collision.js +251 -19
- package/dist/src/utils/feature-id-collision.js.map +1 -1
- package/dist/src/utils/validators/ado-validator.js +2 -2
- package/dist/src/utils/validators/ado-validator.js.map +1 -1
- package/package.json +12 -13
- package/plugins/PLUGINS-INDEX.md +2 -3
- package/plugins/specweave/commands/specweave-living-docs.md +321 -0
- package/plugins/specweave/commands/specweave-organize-docs.md +3 -3
- package/plugins/specweave/hooks/v2/handlers/github-sync-handler.sh +10 -1
- package/plugins/specweave/hooks/v2/handlers/living-docs-handler.sh +10 -1
- package/plugins/specweave-ado/agents/ado-manager/AGENT.md +58 -0
- package/plugins/specweave-ado/commands/{specweave-ado-close-workitem.md → close.md} +9 -5
- package/plugins/specweave-ado/commands/{specweave-ado-create-workitem.md → create.md} +9 -5
- package/plugins/specweave-ado/commands/pull.md +489 -0
- package/plugins/specweave-ado/commands/push.md +391 -0
- package/plugins/specweave-ado/commands/{specweave-ado-status.md → status.md} +12 -0
- package/plugins/specweave-ado/commands/{specweave-ado-sync.md → sync.md} +95 -3
- package/plugins/specweave-ado/hooks/README.md +1 -1
- package/plugins/specweave-docs/commands/generate.md +3 -3
- package/plugins/specweave-docs/commands/init.md +4 -4
- package/plugins/specweave-docs/commands/preview.md +5 -5
- package/plugins/specweave-github/agents/github-manager/AGENT.md +22 -0
- package/plugins/specweave-github/agents/user-story-updater/AGENT.md +1 -1
- package/plugins/specweave-github/commands/{specweave-github-close-issue.md → close.md} +2 -2
- package/plugins/specweave-github/commands/{specweave-github-create-issue.md → create.md} +2 -2
- package/plugins/specweave-github/commands/pull.md +142 -0
- package/plugins/specweave-github/commands/push.md +154 -0
- package/plugins/specweave-github/commands/{specweave-github-sync.md → sync.md} +19 -5
- package/plugins/specweave-github/commands/{specweave-github-update-user-story.md → update-user-story.md} +1 -1
- package/plugins/specweave-github/hooks/README.md +1 -1
- package/plugins/specweave-jira/agents/jira-manager/AGENT.md +30 -0
- package/plugins/specweave-jira/commands/pull.md +164 -0
- package/plugins/specweave-jira/commands/push.md +170 -0
- package/plugins/specweave-jira/commands/{specweave-jira-sync.md → sync.md} +18 -3
- package/plugins/specweave-jira/hooks/README.md +1 -1
- package/plugins/specweave-kafka/README.md +20 -0
- package/plugins/specweave-kafka/benchmarks/kafka-throughput.benchmark.ts +551 -0
- package/plugins/specweave-kafka/examples/README.md +191 -0
- package/plugins/specweave-kafka/examples/avro-schema-registry/.env.example +8 -0
- package/plugins/specweave-kafka/examples/avro-schema-registry/README.md +69 -0
- package/plugins/specweave-kafka/examples/avro-schema-registry/consumer.js +37 -0
- package/plugins/specweave-kafka/examples/avro-schema-registry/package.json +14 -0
- package/plugins/specweave-kafka/examples/avro-schema-registry/producer.js +57 -0
- package/plugins/specweave-kafka/examples/exactly-once-semantics/.env.example +5 -0
- package/plugins/specweave-kafka/examples/exactly-once-semantics/README.md +30 -0
- package/plugins/specweave-kafka/examples/exactly-once-semantics/eos-pipeline.js +79 -0
- package/plugins/specweave-kafka/examples/exactly-once-semantics/package.json +11 -0
- package/plugins/specweave-kafka/examples/kafka-streams-app/.env.example +4 -0
- package/plugins/specweave-kafka/examples/kafka-streams-app/README.md +30 -0
- package/plugins/specweave-kafka/examples/kafka-streams-app/package.json +11 -0
- package/plugins/specweave-kafka/examples/kafka-streams-app/windowed-aggregation.js +66 -0
- package/plugins/specweave-kafka/examples/n8n-workflow/README.md +54 -0
- package/plugins/specweave-kafka/examples/n8n-workflow/docker-compose.yml +19 -0
- package/plugins/specweave-kafka/examples/n8n-workflow/kafka-to-slack.json +50 -0
- package/plugins/specweave-kafka/examples/simple-producer-consumer/.env.example +15 -0
- package/plugins/specweave-kafka/examples/simple-producer-consumer/README.md +183 -0
- package/plugins/specweave-kafka/examples/simple-producer-consumer/consumer.js +60 -0
- package/plugins/specweave-kafka/examples/simple-producer-consumer/docker-compose.yml +30 -0
- package/plugins/specweave-kafka/examples/simple-producer-consumer/package.json +18 -0
- package/plugins/specweave-kafka/examples/simple-producer-consumer/producer.js +52 -0
- package/plugins/specweave-release/commands/specweave-release-npm.md +4 -4
- package/plugins/specweave-docs-preview/.claude-plugin/plugin.json +0 -21
- package/plugins/specweave-docs-preview/commands/build.md +0 -489
- package/plugins/specweave-docs-preview/commands/preview.md +0 -355
- package/plugins/specweave-docs-preview/skills/docs-preview/SKILL.md +0 -386
- /package/plugins/specweave-ado/commands/{specweave-ado-clone-repos.md → clone.md} +0 -0
- /package/plugins/specweave-ado/commands/{specweave-ado-import-areas.md → import-areas.md} +0 -0
- /package/plugins/specweave-ado/commands/{specweave-ado-import-projects.md → import-projects.md} +0 -0
- /package/plugins/specweave-github/commands/{specweave-github-cleanup-duplicates.md → cleanup-duplicates.md} +0 -0
- /package/plugins/specweave-github/commands/{specweave-github-reconcile.md → reconcile.md} +0 -0
- /package/plugins/specweave-github/commands/{specweave-github-status.md → status.md} +0 -0
- /package/plugins/specweave-jira/commands/{specweave-jira-import-boards.md → import-boards.md} +0 -0
- /package/plugins/specweave-jira/commands/{specweave-jira-import-projects.md → import-projects-full.md} +0 -0
|
@@ -1,386 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: docs-preview
|
|
3
|
-
description: Documentation preview expert for Docusaurus integration. Launches interactive preview server for SpecWeave living documentation with hot reload, auto-generated sidebar, and Mermaid diagrams. Activates for preview docs, view documentation, Docusaurus server, docs UI, documentation website, local docs server, hot reload docs, static site build.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Documentation Preview Skill
|
|
7
|
-
|
|
8
|
-
Expert in launching and managing Docusaurus documentation preview for SpecWeave projects.
|
|
9
|
-
|
|
10
|
-
## What I Do
|
|
11
|
-
|
|
12
|
-
I help you preview and build your SpecWeave living documentation with Docusaurus:
|
|
13
|
-
|
|
14
|
-
### 1. Interactive Preview
|
|
15
|
-
- Launch local development server (default port: 3015)
|
|
16
|
-
- Auto-generate sidebar from folder structure
|
|
17
|
-
- Hot reload - edit markdown, see changes instantly
|
|
18
|
-
- Mermaid diagram rendering
|
|
19
|
-
- Mobile-responsive UI
|
|
20
|
-
- Search functionality
|
|
21
|
-
|
|
22
|
-
### 2. Static Site Building
|
|
23
|
-
- Build production-ready static site
|
|
24
|
-
- Output to `.specweave/docs-site-internal/build/`
|
|
25
|
-
- Ready for deployment to any static host
|
|
26
|
-
- Optimized for performance
|
|
27
|
-
|
|
28
|
-
### 3. Smart Setup
|
|
29
|
-
- Lazy installation (only installs when first used)
|
|
30
|
-
- Checks Node.js version (18+ required)
|
|
31
|
-
- Installs Docusaurus dependencies automatically
|
|
32
|
-
- Configures from `.specweave/config.json` settings
|
|
33
|
-
|
|
34
|
-
## Available Commands
|
|
35
|
-
|
|
36
|
-
### Preview Documentation
|
|
37
|
-
```bash
|
|
38
|
-
/specweave-docs-preview:preview
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
**What it does:**
|
|
42
|
-
1. Checks if Docusaurus is installed (installs if needed)
|
|
43
|
-
2. Generates sidebar from `.specweave/docs/internal/` structure
|
|
44
|
-
3. Starts development server on port 3015 (configurable)
|
|
45
|
-
4. Opens browser automatically
|
|
46
|
-
5. Enables hot reload
|
|
47
|
-
|
|
48
|
-
**Configuration** (`.specweave/config.json`):
|
|
49
|
-
```json
|
|
50
|
-
{
|
|
51
|
-
"documentation": {
|
|
52
|
-
"preview": {
|
|
53
|
-
"enabled": true,
|
|
54
|
-
"autoInstall": false,
|
|
55
|
-
"port": 3015,
|
|
56
|
-
"openBrowser": true,
|
|
57
|
-
"theme": "default",
|
|
58
|
-
"excludeFolders": ["legacy", "node_modules"]
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
**Example session:**
|
|
65
|
-
```
|
|
66
|
-
User: "Can I preview my documentation?"
|
|
67
|
-
You: "Yes! I'll launch the Docusaurus preview server for you."
|
|
68
|
-
[Run: /specweave-docs-preview:preview]
|
|
69
|
-
|
|
70
|
-
Output:
|
|
71
|
-
📚 Setting up documentation preview...
|
|
72
|
-
✓ Node.js version check passed (v20.0.0)
|
|
73
|
-
✓ Docusaurus already installed
|
|
74
|
-
✓ Sidebar generated (42 documents, 8 categories)
|
|
75
|
-
✓ Server started on http://localhost:3015
|
|
76
|
-
|
|
77
|
-
🌐 Documentation available at: http://localhost:3015
|
|
78
|
-
🔄 Hot reload enabled - edit docs and see changes instantly
|
|
79
|
-
💡 Press Ctrl+C to stop the server
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
### Build Static Site
|
|
83
|
-
```bash
|
|
84
|
-
/specweave-docs-preview:build
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
**What it does:**
|
|
88
|
-
1. Checks if Docusaurus is installed
|
|
89
|
-
2. Runs production build
|
|
90
|
-
3. Outputs to `.specweave/docs-site-internal/build/`
|
|
91
|
-
4. Shows build stats and output path
|
|
92
|
-
|
|
93
|
-
**Example session:**
|
|
94
|
-
```
|
|
95
|
-
User: "Build my docs for deployment"
|
|
96
|
-
You: "I'll build the static documentation site."
|
|
97
|
-
[Run: /specweave-docs-preview:build]
|
|
98
|
-
|
|
99
|
-
Output:
|
|
100
|
-
📦 Building static documentation site...
|
|
101
|
-
✓ Build complete!
|
|
102
|
-
📁 Output: /project/.specweave/docs-site-internal/build/
|
|
103
|
-
|
|
104
|
-
To deploy:
|
|
105
|
-
1. Copy build/ folder to your static host
|
|
106
|
-
2. Or use: npx serve build/
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
## When to Use This Skill
|
|
110
|
-
|
|
111
|
-
### Activate for questions like:
|
|
112
|
-
- "How do I preview my documentation?"
|
|
113
|
-
- "Show me my docs in a UI"
|
|
114
|
-
- "Launch Docusaurus server"
|
|
115
|
-
- "View my living documentation"
|
|
116
|
-
- "Start docs preview"
|
|
117
|
-
- "Build static docs site"
|
|
118
|
-
- "Hot reload documentation"
|
|
119
|
-
- "Documentation website"
|
|
120
|
-
|
|
121
|
-
### Common workflows:
|
|
122
|
-
|
|
123
|
-
**1. First-time preview:**
|
|
124
|
-
```
|
|
125
|
-
User: "I want to preview my docs"
|
|
126
|
-
You: "I'll set up the documentation preview with Docusaurus.
|
|
127
|
-
This will install dependencies (takes ~30 seconds first time)."
|
|
128
|
-
[Run: /specweave-docs-preview:preview]
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
**2. Already running:**
|
|
132
|
-
```
|
|
133
|
-
User: "Preview my docs"
|
|
134
|
-
You: "Checking if Docusaurus is running..."
|
|
135
|
-
[If running: "Documentation server already running at http://localhost:3015"]
|
|
136
|
-
[If not: Run /specweave-docs-preview:preview]
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
**3. Build for deployment:**
|
|
140
|
-
```
|
|
141
|
-
User: "I need to deploy my docs"
|
|
142
|
-
You: "I'll build the static site for deployment."
|
|
143
|
-
[Run: /specweave-docs-preview:build]
|
|
144
|
-
"Once built, you can deploy the build/ folder to:"
|
|
145
|
-
"• Netlify, Vercel, GitHub Pages"
|
|
146
|
-
"• Any static host (Nginx, Apache, S3)"
|
|
147
|
-
"• Or test locally with: npx serve build/"
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
## Architecture
|
|
151
|
-
|
|
152
|
-
### Folder Structure
|
|
153
|
-
```
|
|
154
|
-
.specweave/
|
|
155
|
-
├── docs/
|
|
156
|
-
│ └── internal/ ← Source documentation
|
|
157
|
-
│ ├── strategy/
|
|
158
|
-
│ ├── specs/
|
|
159
|
-
│ ├── architecture/
|
|
160
|
-
│ └── ...
|
|
161
|
-
└── docs-site-internal/ ← Docusaurus installation
|
|
162
|
-
├── docs/ ← Symlinked to internal/
|
|
163
|
-
├── src/
|
|
164
|
-
├── build/ ← Static output
|
|
165
|
-
├── docusaurus.config.js
|
|
166
|
-
├── sidebars.js ← Auto-generated
|
|
167
|
-
└── package.json
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
### Sidebar Auto-Generation
|
|
171
|
-
|
|
172
|
-
The sidebar is generated from your folder structure:
|
|
173
|
-
|
|
174
|
-
**Input** (`.specweave/docs/internal/`):
|
|
175
|
-
```
|
|
176
|
-
internal/
|
|
177
|
-
├── strategy/
|
|
178
|
-
│ ├── prd-001.md
|
|
179
|
-
│ └── okrs.md
|
|
180
|
-
├── specs/
|
|
181
|
-
│ ├── spec-001-auth.md
|
|
182
|
-
│ └── spec-002-payments.md
|
|
183
|
-
└── architecture/
|
|
184
|
-
├── hld-system.md
|
|
185
|
-
└── adr/
|
|
186
|
-
└── 0001-database-choice.md
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
**Output** (`sidebars.js`):
|
|
190
|
-
```javascript
|
|
191
|
-
{
|
|
192
|
-
docs: [
|
|
193
|
-
{
|
|
194
|
-
type: 'category',
|
|
195
|
-
label: 'Strategy',
|
|
196
|
-
items: ['strategy/prd-001', 'strategy/okrs']
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
type: 'category',
|
|
200
|
-
label: 'Specs',
|
|
201
|
-
items: ['specs/spec-001-auth', 'specs/spec-002-payments']
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
type: 'category',
|
|
205
|
-
label: 'Architecture',
|
|
206
|
-
items: [
|
|
207
|
-
'architecture/hld-system',
|
|
208
|
-
{
|
|
209
|
-
type: 'category',
|
|
210
|
-
label: 'ADR',
|
|
211
|
-
items: ['architecture/adr/0001-database-choice']
|
|
212
|
-
}
|
|
213
|
-
]
|
|
214
|
-
}
|
|
215
|
-
]
|
|
216
|
-
}
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
## Configuration Options
|
|
220
|
-
|
|
221
|
-
### Port Selection
|
|
222
|
-
```json
|
|
223
|
-
{
|
|
224
|
-
"documentation": {
|
|
225
|
-
"preview": {
|
|
226
|
-
"port": 3015
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
**Why 3015?**
|
|
233
|
-
- Port 3000 = React/Next.js/Vite dev servers (conflict!)
|
|
234
|
-
- Port 3015 = Internal docs (SpecWeave default)
|
|
235
|
-
- Port 3016 = Reserved for public docs (future)
|
|
236
|
-
|
|
237
|
-
### Theme Selection
|
|
238
|
-
```json
|
|
239
|
-
{
|
|
240
|
-
"documentation": {
|
|
241
|
-
"preview": {
|
|
242
|
-
"theme": "default"
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
**Available themes:**
|
|
249
|
-
- `default` - SpecWeave blue theme
|
|
250
|
-
- `classic` - Docusaurus default theme
|
|
251
|
-
- `dark` - Dark mode theme
|
|
252
|
-
|
|
253
|
-
### Exclude Folders
|
|
254
|
-
```json
|
|
255
|
-
{
|
|
256
|
-
"documentation": {
|
|
257
|
-
"preview": {
|
|
258
|
-
"excludeFolders": ["legacy", "node_modules", "archive"]
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
## Troubleshooting
|
|
265
|
-
|
|
266
|
-
### Port already in use
|
|
267
|
-
```
|
|
268
|
-
Error: Port 3015 is already in use
|
|
269
|
-
Solution: Change port in config or stop other service
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
### Node.js version
|
|
273
|
-
```
|
|
274
|
-
Error: Node.js 18+ required
|
|
275
|
-
Solution: Update Node.js (nvm install 20)
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
### Mermaid diagrams not rendering
|
|
279
|
-
```
|
|
280
|
-
Issue: Diagrams show as code blocks
|
|
281
|
-
Solution: Use ```mermaid code fences (built-in support)
|
|
282
|
-
```
|
|
283
|
-
|
|
284
|
-
### Build fails
|
|
285
|
-
```
|
|
286
|
-
Error: Build failed
|
|
287
|
-
Check:
|
|
288
|
-
1. All markdown files have valid frontmatter
|
|
289
|
-
2. No broken internal links
|
|
290
|
-
3. Run preview first to catch errors early
|
|
291
|
-
```
|
|
292
|
-
|
|
293
|
-
## Best Practices
|
|
294
|
-
|
|
295
|
-
### 1. Use Preview During Development
|
|
296
|
-
- Start preview server: `/specweave-docs-preview:preview`
|
|
297
|
-
- Edit markdown files in `.specweave/docs/internal/`
|
|
298
|
-
- See changes instantly (hot reload)
|
|
299
|
-
- No need to rebuild
|
|
300
|
-
|
|
301
|
-
### 2. Build Before Deployment
|
|
302
|
-
- Always build before deploying
|
|
303
|
-
- Test build output locally: `npx serve build/`
|
|
304
|
-
- Check all pages render correctly
|
|
305
|
-
- Verify search works
|
|
306
|
-
|
|
307
|
-
### 3. Keep Docs Organized
|
|
308
|
-
- Follow SpecWeave folder structure
|
|
309
|
-
- Use meaningful file names
|
|
310
|
-
- Add frontmatter to markdown files:
|
|
311
|
-
```markdown
|
|
312
|
-
---
|
|
313
|
-
title: User Authentication
|
|
314
|
-
sidebar_position: 1
|
|
315
|
-
---
|
|
316
|
-
```
|
|
317
|
-
|
|
318
|
-
### 4. Optimize for Search
|
|
319
|
-
- Use descriptive headings
|
|
320
|
-
- Include keywords naturally
|
|
321
|
-
- Add alt text to images
|
|
322
|
-
- Keep URL structure clean
|
|
323
|
-
|
|
324
|
-
## Example: Complete Workflow
|
|
325
|
-
|
|
326
|
-
```bash
|
|
327
|
-
# 1. Preview docs locally
|
|
328
|
-
/specweave-docs-preview:preview
|
|
329
|
-
# → Opens http://localhost:3015
|
|
330
|
-
# → Edit files, see changes instantly
|
|
331
|
-
|
|
332
|
-
# 2. Build for production
|
|
333
|
-
/specweave-docs-preview:build
|
|
334
|
-
# → Outputs to .specweave/docs-site-internal/build/
|
|
335
|
-
|
|
336
|
-
# 3. Deploy (example with Netlify)
|
|
337
|
-
cd .specweave/docs-site-internal
|
|
338
|
-
npx netlify deploy --dir=build --prod
|
|
339
|
-
```
|
|
340
|
-
|
|
341
|
-
## Integration with SpecWeave
|
|
342
|
-
|
|
343
|
-
### Living Documentation Sync
|
|
344
|
-
Documentation preview integrates with SpecWeave's living docs:
|
|
345
|
-
|
|
346
|
-
1. **After increment completion:**
|
|
347
|
-
- `spec.md` synced to `.specweave/docs/internal/specs/`
|
|
348
|
-
- Preview updates automatically (hot reload)
|
|
349
|
-
|
|
350
|
-
2. **Architecture decisions:**
|
|
351
|
-
- ADRs created in `.specweave/docs/internal/architecture/adr/`
|
|
352
|
-
- Instantly visible in preview
|
|
353
|
-
|
|
354
|
-
3. **Multi-project support:**
|
|
355
|
-
- Each project gets its own docs folder
|
|
356
|
-
- Preview shows all projects in sidebar
|
|
357
|
-
|
|
358
|
-
## Commands Summary
|
|
359
|
-
|
|
360
|
-
| Command | Purpose | When to Use |
|
|
361
|
-
|---------|---------|-------------|
|
|
362
|
-
| `/specweave-docs-preview:preview` | Launch dev server | During development, hot reload |
|
|
363
|
-
| `/specweave-docs-preview:build` | Build static site | Before deployment, production |
|
|
364
|
-
|
|
365
|
-
## Technical Details
|
|
366
|
-
|
|
367
|
-
### Under the Hood
|
|
368
|
-
- **Framework:** Docusaurus 3.0
|
|
369
|
-
- **React version:** 18+
|
|
370
|
-
- **Build tool:** Webpack 5
|
|
371
|
-
- **Markdown:** MDX support
|
|
372
|
-
- **Diagrams:** Mermaid.js
|
|
373
|
-
- **Search:** Algolia DocSearch (optional)
|
|
374
|
-
|
|
375
|
-
### Performance
|
|
376
|
-
- **Install time:** ~30 seconds (first time only)
|
|
377
|
-
- **Build time:** ~5-10 seconds (small docs)
|
|
378
|
-
- **Hot reload:** <1 second
|
|
379
|
-
- **Static site:** Fully optimized, lighthouse 100
|
|
380
|
-
|
|
381
|
-
## See Also
|
|
382
|
-
|
|
383
|
-
- **specweave-docs** skill - General documentation workflows
|
|
384
|
-
- **spec-generator** skill - Generate living docs specs
|
|
385
|
-
- **sync-docs** skill - Sync docs after increments
|
|
386
|
-
- **Docusaurus docs:** https://docusaurus.io
|
|
File without changes
|
|
File without changes
|
/package/plugins/specweave-ado/commands/{specweave-ado-import-projects.md → import-projects.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/plugins/specweave-jira/commands/{specweave-jira-import-boards.md → import-boards.md}
RENAMED
|
File without changes
|
|
File without changes
|