Skip to content

Conflict with directives seealso, deprecated, ... #467

Closed
@soxofaan

Description

@soxofaan

Minimal reproduction example:

def hello() -> str:
    """
    .. seealso:: more info at <https://example.com>`_.
    """
    return "Hello, world!"

This triggers this warning during build:

.../helloworld.py:docstring of helloworld.hello:3: WARNING: Explicit markup ends without a blank line; unexpected unindent.

(using sphinx==7.4.1, sphinx_autodoc_typehints==2.2.2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions