Issues

Issue #1469 new

:std:event: links do not work

Brian Mearns
created an issue

This inventory file at http://spihnx-doc.org/objects.inv lists several entries whose role is :std:event: (for instance :std:event:autodoc-skip-member), but attempting to include these links in a sphinx rest source file does not work correctly.

For instance, I have the following in my rest:

:std:event:`sphinx:autodoc-skip-member`

With the following intersphinx configuration in conf.py:

intersphinx_mapping = {
    'python': ('http://docs.python.org/2', None),
    'sphinx': ('http://sphinx-doc.org/', None),
}

It gets rendered in HTML as:

<a href="#id1">
    <span id="id2" class="problematic">:std:event:`sphinx:autodoc-skip-member`</span>
</a>

Notice it does not link to the correct location (targets an anchor on the same page, instead of the intended location on the sphinx-doc stie), and the link text is the entire rest link code, instead of just the expected "autodoc-skip-member."

Comments (1)

  1. Log in to comment