๐ชก doc-weaver โ TypeScript Documentation Weaver
doc-weaver is the TypeScript counterpart to doc-forge. It compiles
JSDoc-annotated TypeScript into a TypeDoc site (the MkDocs parallel) and a
doc-forge-shaped MCP JSON bundle, so React packages document themselves for
humans and agents alike.
Doc model: this wiki is written for humans โ guides and conventions. The authoritative API contracts live in the code (JSDoc) and the machine-readable bundle under
docs/mcp/.
๐ Key Features
- ๐งต JSDoc extraction via TypeDoc (the TypeScript compiler API)
- ๐งฌ doc-forge-compatible MCP bundle (
index.json,nav.json,modules/*.json) - โ๏ธ React-aware kinds โ
component(PascalCase) andhook(use*) - ๐ RDFC (React Doc-forge Convention) โ the JSDoc parallel to GSDFC
- ๐ MCP server over stdio exposing
docs://index,docs://nav, anddocs://modules/{module}
๐ฆ Installation
This produces the doc-weaver binary under bin/ and dist/.
๐ Documentation Structure
| Section | Description |
|---|---|
| Overview | What doc-weaver is and how it fits |
| RDFC Guide | How to write RDFC-conformant JSDoc |
๐ Related Resources
- Source Code: the
doc-weaverrepository - MCP Bundle: generated by
doc-weaver build --mcp --module src/index.tsintodocs/mcp/ - Library Registry: registered in the standards hub as
doc-weaver(MCP:8010)
ยฉ Aetoskia Internal โ doc-weaver 0.1.0