Skip to content

autodoc warns without giving the source file name #1656

Closed
@shimizukawa

Description

@shimizukawa

When a docstring in some code contains invalid markup, autodoc issues a warning, but often it gives no useful information about where the invalid markup is located. It just says "''" as the source. Here is a patch which makes autodoc include source information for all detected warnings. Note that I did not test very thoroughly. But it works for me.


Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions