Skip to content
This repository was archived by the owner on Oct 20, 2026. It is now read-only.
This repository was archived by the owner on Oct 20, 2026. It is now read-only.

Pick attributes without docstrings #11

Closed

Description

@pawamoy

Just like we still select objects with no docstrings, we could also pick attributes without docstrings.

The user can then configure the plugin to render them or not.

Activity

  1. cs01 commented on Jan 26, 2020

    @cs01
    Contributor

    Would an example of this be if a type annotation is present for the return type but there is no docstring for it (Returns: ...), the generated mkdocs would still have a Returns section?

  2. pawamoy commented on Jan 27, 2020

    @pawamoy
    MemberAuthor

    No, I was talking about picking module variables, class variables and instance variables (in init methods) that have no docstrings, to be consistent with the selection method for other objects (we currently select methods/classes that have no docstrings as well, and rendering them or not based on configuration).

    But what you wrote would indeed be an interesting feature. Sometimes the method/function name is self-explanatory about what it returns, so printing its return type without having to add Returns: would be nice.

  3. ofek commented on Apr 1, 2020

    @ofek

    We very much need this 😄

  4. ofek commented on Apr 24, 2020

    @ofek

    Any update?

  5. pawamoy commented on Apr 24, 2020

    @pawamoy
    MemberAuthor

    Sorry, nope, I've been working on other things. I'll try to work on this these next few days.

  6. added
    feature
    on Apr 25, 2020
  7. ofek commented on May 12, 2020

    @ofek

    Has this been implemented?

  8. pawamoy commented on May 12, 2020

    @pawamoy
    MemberAuthor

    Still not @ofek 😅 But I'm currently working on refactoring the attribute parser, which will make it easier to implement this feature ☺️

    So, it's on the way!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    attributesfeature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions