← All extensions

Python Auto-Doc

v0.1.1 · by Evan Allender · added 3 November 2026

Auto-generates PEP 257 docstrings for Python

Language servers

How to install

With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.

You can also open the Extensions panel in the app and search for Python Auto-Doc. The extension's id is python-autodoc-lsp.

Don't have Forge Super yet? Download it here.

README

From the extension's repository, written by its authors and not by Mentenaz. See the source.

Python Autodoc for Zed


Generates PEP 257 docstrings for Python functions and classes. Type """ on the line after a definition to trigger completion.

Handles typed parameters, return types, exceptions, dataclasses, async functions, *args/**kwargs, and nested functions.

Examples

  1. Function with typed parameters

Basic Example

  1. Function with exceptions

Exception Example

  1. Dataclasses

Basic Example

  1. Complex signatures

Complex Example

More examples can be found in examples/.

PEP 257 notes:

  • Class docstrings get a summary only; __init__ parameters are documented in __init__
  • None return types are omitted
  • Raises: is only generated when the function body contains raise statements

License

MIT — see LICENSE.