Skip to content

Library scope #6

Open
Open
@OriolAbril

Description

@OriolAbril

Thanks for working on this, I would love to use such a tool. I am not familiar with the libraries this is built on top of and I am not particularly free, but I would be happy to try things out and help with documentation.

So far I did a very quick test and noticed two things: #5 and the fact that complex types (e.g. a dictionary where we document the types of the keys and values) prefer a type-hint-like syntax, and only the most basic cases support a more readable alternative. numpydoc itself is quite vague on that, its examples have int or tuple of int as the most complicated type, but both pandas and matplotlib extend that and define things like dict of {str : array_like} to specify the types of keys and values, or (float, float) to indicate a tuple of two floats like figsize.

I saw that including the shape info in the type is supported, which is another "community extension" of numpydoc. Are these syntaxes in scope? If so, what would help work on that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    metaOrganization or planning

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions