Skip to content

๐Ÿ”จ docforge โ€” Docstring-Driven Documentation Forge

docforge is an internal documentation tool that generates reference documentation from Google-Styled Doc-Forge Convention (GSDFC) docstrings and assembles it into per-kind MkDocs sites, alongside hand-written wiki pages and OpenAPI-based API docs.


๐Ÿš€ Key Features

  • ๐Ÿงช GSDFC docstring extraction via Griffe
  • ๐Ÿงญ Auto-derived navigation for hand-written wiki pages
  • ๐Ÿ—‚ Independent MkDocs builds per kind (lib, api, wiki) into site/{kind}
  • ๐Ÿ”Œ Material MkDocs theming out of the box
  • ๐Ÿ“ฆ MCP structured documentation resources

๐Ÿ“ Documentation Structure

Section Description
Overview What docforge is and how it fits the pipeline
Architecture Loaders, models, nav, renderers, CLI, servers
Conventions GSDFC, .pyi stubs, and template conventions
Iterative Workflow How a docs build runs end to end
Development Environment setup and quality gates
Docstring Guide How to write GSDFC-conformant docstrings
MCP Guide Building, serving, and consuming the MCP bundle

  • Source Code: the doc-forge repository
  • Wiki Kind: hand-written content lives in docs/wiki/
  • MCP Bundle: generated by doc-forge build --mcp --module docforge into docs/mcp/

ยฉ Aetoskia Internal