Skip to content

would be nice to get absolute line numbers in warnings #6036

@Phillip-M-Feldman

Description

@Phillip-M-Feldman

When Sphinx produces a warning like the following, one must add two numbers to determine the absolute line number in the module:

docstring of mymath.find_root:212: WARNING: Block quote ends without a blank line; unexpected unindent.

It would be wonderful if there were an option to get absolute line numbers rather than line numbers relative to the start of the given doc string.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions