updated docs strings and added README.md
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
"""
|
||||
# Summary
|
||||
|
||||
Renderers layer for doc-forge.
|
||||
|
||||
The ``docforge.renderers`` package transforms the internal documentation
|
||||
The `docforge.renderers` package transforms the internal documentation
|
||||
models into files formatted for specific documentation systems.
|
||||
|
||||
---
|
||||
|
||||
Overview
|
||||
--------
|
||||
# Overview
|
||||
|
||||
Renderers consume the doc-forge project model and generate output suitable
|
||||
for documentation tools or machine interfaces.
|
||||
@@ -15,18 +16,17 @@ for documentation tools or machine interfaces.
|
||||
Current implementations:
|
||||
|
||||
- **MkDocsRenderer** – Produces Markdown files compatible with MkDocs and
|
||||
the ``mkdocstrings`` plugin. It automatically handles package hierarchy
|
||||
and generates ``index.md`` files for packages.
|
||||
the `mkdocstrings` plugin. It automatically handles package hierarchy
|
||||
and generates `index.md` files for packages.
|
||||
- **MCPRenderer** – Emits structured JSON resources designed for consumption
|
||||
by Model Context Protocol (MCP) clients.
|
||||
|
||||
---
|
||||
|
||||
Extending
|
||||
---------
|
||||
# Extending
|
||||
|
||||
New renderers can be added by implementing the ``DocRenderer`` protocol
|
||||
defined in ``docforge.renderers.base``.
|
||||
New renderers can be added by implementing the `DocRenderer` protocol
|
||||
defined in `docforge.renderers.base`.
|
||||
|
||||
---
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user