Skip to content

Multiline roles syntax seems broken #448

@webknjaz

Description

@webknjaz

Describe the problem

In a Sphinx project, I used something like this

some text {ref}`some
anchor <real-ref>`

and it silently kept it as {ref} and the rest was marked as inline code.
When I put it on a single line, it actually created a clickable link.

Link to your repository or website

No response

Steps to reproduce

tox -e build-docs on the https://github.com/abhinavsingh/proxy.py repo and navigate to "guidelines" document in the browser.

The version of Python you're using

No response

Your operating system

No response

Versions of your packages

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions