- Renamed `02_architecture.md` to `02_components.md` to match the standard component page naming convention.
- Updated `docs/mkdocs.wiki.yml` to reflect renamed pages and fix navigation label acronym casing (GSDFC, MCP, MkDocs).
- Updated `index.md` to include the mandatory doc model blockquote, standardize section headers with emojis, and accurately map the `Documentation Structure` table to the navigation menu.
- Standardized all wiki pages (`01_overview.md`, `02_components.md`, `03_conventions.md`, `04_iterative_workflow.md`, and `05_development/*`) by:
- Adding horizontal rules (`---`) between major sections.
- Applying emoji-prefixed H2 headings for recognizable section types.
- Appending `## Related` or `## ➡️ Read Next` footers with standard relative cross-links.
- Adjusting H1 headers to match guide anatomy (e.g., `# Library Overview` on the overview page).
1.6 KiB
1.6 KiB
Library Overview
docforge turns GSDFC-compliant Python docstrings into maintainable reference
documentation. It never edits source docstrings; it reads them, renders them,
and assembles documentation sites from all available material.
🧭 Which Build Should You Use?
| Kind | Source | Output |
|---|---|---|
lib |
GSDFC docstrings | docs/lib/** rendered markdown |
api |
OpenAPI JSON spec | docs/api/** rendered markdown |
wiki |
Hand-written markdown | docs/wiki/** (unchanged) |
mcp |
GSDFC docstrings + renderers | docs/mcp/** structured JSON |
🏗️ Architecture
Each enabled site kind produces its own MkDocs configuration and build:
--mkdocs(lib) writesdocs/mkdocs.lib.ymland buildssite/lib/.--apiwritesdocs/mkdocs.api.ymland buildssite/api/.--wikiwritesdocs/mkdocs.wiki.ymland buildssite/wiki/.
Every site is self-contained (own theme assets and search index) with navigation derived or scoped to that kind. Hand-written wiki content is never overwritten or regenerated — only its navigation is derived automatically.
🔄 Lifecycle Rules
docs/mcp/** is a self-contained, machine-readable reference generated from
docforge's own GSDFC docstrings. doc-forge serve --mcp --module docforge
serves it over MCP. See the MCP Guide.