Skip to content

Show decorator and link to it? #279

Open
@johann-petrak

Description

@johann-petrak

Pydoc currently does not indicate in any way that a function or other object has a decorator. But decorators are
often used to change or add to the way how a e.g. a function can be used by the API user. So documenting this is very important.

Ideally the generated documentation would show the decorator as in the source and allow to link to the documentation of the decorator implementation.

Documenting this manually for each function can be very repetitive when the same decorator is e.g. used for a large number of class methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions