annotated-doc is a small Python library that lets you attach documentation strings directly to function parameters, class attributes, return types, and variables using typing.Annotated. It is useful for keeping symbol documentation in code and enabling tools to extract consistent parameter docs for reference-style documentation, including support used by FastAPI reference documentation.
Project status
- The source shows recent repository activity, with an upstream push on October 15, 2026, though the latest listed update was July 28.
- Updates appear sparse and irregular: after several updates in October and November 2025, the next listed one came in July 2026.
AI summary generated
Recent updates
0.0.5
Release 0.0.5 primarily updates tooling and CI. The key user-facing change is dropping support for Python 3.8, and the package now requires Python 3.9 or newer. Most other changes are internal, including dependency management shifts to uv dependency groups and workflow updates that pin actions by commit SHA.
Breaking0.0.4
Version 0.0.4 primarily changes the build and versioning setup, switching to PDM-based dynamic versioning and updating tooling versions. It also bumps some GitHub Actions artifact/upload/download versions and updates test dependencies for Python versions under 3.9.
0.0.3
Release 0.0.3 focuses on documentation updates, including README content improvements, added badges, and a new reference to griffe-typingdoc. It also adds PEP-639 compliant license metadata to the package configuration.
0.0.2
Release 0.0.2 is very small, consisting mainly of an initial implementation and associated repository automation. The remaining items are internal test and CI setup updates, plus configuration tweaks for GitHub workflows and templates.
Features