Skip to content

Show base class of python classes #269

@valmar

Description

@valmar

I am testing mkdocs for the documentation of my python project and I am up until now impressed by its combination with mkdocstrings.

I was wondering if would be possible please to have the base class for derived classes displayed in the auto-generated documentation. In other words, if we have a class like:

class DerivedClass(BaseClass):
  pass

I would like to have somewhere in the documentation of DerivedClass something like: "Base class: BaseClass". I am open to any option or workaround to display this information: modifying the templates, etc.

Thank you in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions