Skip to content

Commit 9f83114

Browse files
committed
chore: add docs:list helper
1 parent a98b51a commit 9f83114

File tree

16 files changed

+210
-31
lines changed

16 files changed

+210
-31
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
node_modules
22
.DS_Store
3+
.bun-build
4+
*.bun-build
5+
bin/docs-list
36
dist
47
dist-ssr
58
!packages/schema/dist

docs/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: 'Docs'
3-
description: 'ClawdHub documentation index + reading order.'
2+
summary: 'Documentation index + reading order.'
3+
read_when:
4+
- New contributor onboarding
5+
- Looking for the right doc
46
---
57

68
# Docs
@@ -28,4 +30,3 @@ Feature/ops docs (already present):
2830
Docs tooling:
2931

3032
- `docs/mintlify.md`: publish these docs with Mintlify.
31-

docs/architecture.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: 'Architecture'
3-
description: 'How the web app, Convex backend, and CLI interact.'
2+
summary: 'System overview: web app + Convex backend + CLI + shared schema.'
3+
read_when:
4+
- Orienting in codebase
5+
- Tracing a user flow across layers
46
---
57

68
# Architecture
@@ -58,4 +60,3 @@ description: 'How the web app, Convex backend, and CLI interact.'
5860
- Compute fingerprint; compare to registry state.
5961
- Optionally reports telemetry (see `docs/telemetry.md`).
6062
- Publishes new/changed skills (skips modified installed skills inside install root).
61-

docs/auth.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: 'Auth'
3-
description: 'GitHub OAuth (web) + API tokens (CLI).'
2+
summary: 'Auth overview: GitHub OAuth (web) + API tokens (CLI).'
3+
read_when:
4+
- Working on login/token flows
5+
- Debugging 401s
46
---
57

68
# Auth
@@ -50,4 +52,3 @@ Override:
5052

5153
- Tokens can be revoked in the web UI.
5254
- Revoked tokens return `401 Unauthorized` on CLI endpoints.
53-

docs/cli.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: 'CLI'
3-
description: 'Commands, flags, config files, and state on disk.'
2+
summary: 'CLI reference: commands, flags, config, lockfile, sync behavior.'
3+
read_when:
4+
- Working on CLI behavior
5+
- Debugging install/update/sync
46
---
57

68
# CLI
@@ -91,4 +93,3 @@ Telemetry:
9193

9294
- Sent during `sync` when logged in, unless `CLAWDHUB_DISABLE_TELEMETRY=1`.
9395
- Details: `docs/telemetry.md`.
94-

docs/deploy.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: 'Deploy'
3-
description: 'Deploy web app + Convex backend, wire /api rewrites, set env.'
2+
summary: 'Deploy checklist: Convex backend + Vercel web app + /api rewrites.'
3+
read_when:
4+
- Shipping to production
5+
- Debugging /api routing
46
---
57

68
# Deploy
@@ -74,4 +76,3 @@ Then:
7476
clawdhub login --site https://<site>
7577
clawdhub whoami
7678
```
77-

docs/http-api.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: 'HTTP API'
3-
description: 'Public endpoints + CLI endpoints (token auth).'
2+
summary: 'HTTP API reference (public + CLI endpoints + auth).'
3+
read_when:
4+
- Adding/changing endpoints
5+
- Debugging CLI ↔ registry requests
46
---
57

68
# HTTP API
@@ -119,4 +121,3 @@ Schema:
119121
```
120122

121123
If you self-host, serve this file (or set `CLAWDHUB_REGISTRY` explicitly).
122-

docs/manual-testing.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
summary: 'Copy/paste CLI smoke checklist for local verification.'
3+
read_when:
4+
- Pre-merge validation
5+
- Reproducing a reported CLI bug
6+
---
7+
18
# Manual testing (CLI)
29

310
## Setup

docs/mintlify.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
title: 'Mintlify'
3-
description: 'Publish docs/ as a Mintlify docs site.'
2+
summary: 'Mintlify setup notes for publishing docs/.'
3+
read_when:
4+
- Setting up docs site
45
---
56

67
# Mintlify
@@ -40,4 +41,3 @@ Notes:
4041
- Keep “Quickstart” copy/paste friendly.
4142
- Provide CLI + HTTP API reference pages (done here).
4243
- Add a Troubleshooting page for common setup failures.
43-

docs/quickstart.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: 'Quickstart'
3-
description: 'Run ClawdHub locally and exercise the CLI + API.'
2+
summary: 'Local setup + CLI smoke: login, search, install, publish, sync.'
3+
read_when:
4+
- First run / local dev setup
5+
- Verifying end-to-end flows
46
---
57

68
# Quickstart
@@ -110,4 +112,3 @@ Dry run + non-interactive:
110112
```bash
111113
bun clawdhub sync --all --dry-run --no-input
112114
```
113-

0 commit comments

Comments
 (0)