Squash-merge lib-standardisation: adopt repo standards across packaging, tooling, docs, and CI. - standardize pyproject.toml (canonical packaging, lint config, extras, GSDFC pydoclint) - add py.typed marker, modernize type hints and Google-style docstrings - nest generated docs under docs/lib and docs/mcp; add hand-written wiki - adopt standard Type A PyPI CI pipeline (tag==version guard + quality gate) - promote generated CHANGELOG.md; bump version to 0.0.7
25 lines
502 B
Python
25 lines
502 B
Python
from pathlib import Path
|
|
from typing import Protocol
|
|
|
|
from docforge.models import Project
|
|
|
|
class RendererConfig:
|
|
"""Renderer configuration container."""
|
|
|
|
out_dir: Path
|
|
project: Project
|
|
|
|
def __init__(self, out_dir: Path, project: Project) -> None: ...
|
|
|
|
class DocRenderer(Protocol):
|
|
"""Renderer interface."""
|
|
|
|
name: str
|
|
|
|
def generate_sources(
|
|
self,
|
|
project: Project,
|
|
out_dir: Path,
|
|
) -> None:
|
|
"""Generate renderer-specific source files."""
|