Skip to content

[Feature request/suggestion] Don't duplicate docs for inherited classes. #494

Open
@returnDanilo

Description

@returnDanilo

The documentation page for Bot includes documentation for methods/attributes implemented for Client because Bot inherits from Client. Sometimes the example usage is also written for Client instead of for Bot, which can be confusing.

I'd find it more clear if only the proprieties overwritten or added were to be displayed in a class's docs page. In the example above, the start() function would only be encountered at the Client doc page, not on the Bot page.

It's already clear in the class constructor that it inherits for another class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions