Skip to content

Use of :py: prefix on property and method cross-references fails.  #438

@BobDenny

Description

@BobDenny

Is there an existing issue for this?

  • I have searched the existing issues

PDF produced by rinohtype

It's easy to reproduce.

Source files

:py:attr:`PropertyName` and :py:meth:`MethodName` render to styled links, but the links don't work. Removing the :py so the links are :attr:`PropertyName` and :meth:`MethodName` result in live working links. Strangely, :py:class\ClassName` works fine.

Versions

rinohtype 0.5.5 (2024-07-13)
Sphinx 7.2.6
Python 3.11.1 (tags/v3.11.1:a7a450f, Dec  6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)]
Windows-10-10.0.19045-SP0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bad outputrinohtype's output is not correctbug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions