Release Notes¶
Dynadoc 1.0 (2025-05-25)¶
Enhancements¶
Add support for CPython 3.10, 3.11, 3.12, and 3.13.
Add support for PyPy 3.10.
Automatic docstring generation from
DocandRaisesannotations. Extracts rich documentation metadata from type annotations and generates comprehensive Sphinx-compatible docstrings.Configurable introspection with recursive documentation of classes, functions, properties, and modules. Fine-grained control over documentation depth, inheritance processing, and attribute scanning.
Extensible architecture with custom renderers, fragment rectifiers, and introspection limiters. Configurable contexts and error handling strategies for different development workflows and deployment environments.
Flexible visibility control system with support for
__all__declarations, custom visibility deciders, and explicitVisibilitiesannotations. Controls which attributes appear in generated documentation.Function and class decoration with
@with_docstringdecorator. Processes annotated parameters, return values, and exception specifications to generate detailed reStructuredText documentation.Module-level documentation generation with
assign_module_docstring. Automatically documents module attributes, type aliases, and exported functions with comprehensive introspection capabilities.Reusable documentation fragment system with
Fnameannotations. Enables consistent terminology across projects through fragment tables and class-based fragment storage via_dynadoc_fragments_attributes.Sphinx Autodoc-compatible reStructuredText renderer with multiple formatting styles. Generates proper
:argument:,:type:,:returns:, and:raises:directives for seamless integration with Sphinx documentation.