Skip to content

leverage sphinx config info to improve parsing #22

Open
@drammock

Description

@drammock

@lagru I tried docstub on MNE-Python with the following results:

6241 matched annotations
511 grammar violations
1972 unknown doctypes

Two ideas for improvement:

  • I think a lot of the grammar violations could be avoided by reading the package's conf.py and looking at numpydoc_xref_ignore (for us, this includes things like "instance of", "shape", "n_channels", "n_times", etc)
  • I think a lot of the unknown doctypes could be resolved by looking at numpydoc_xref_aliases and/or leveraging intersphinx mappings.

This is something I'd be willing to work on (though maybe not right away), if you think it's in-scope for docstub. WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmetaOrganization or planning

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions