I reproduced in my local.
It might be a bug(?) of intersphinx.
Could you file this on github issues please?

I'll investigate this in detail.

Note: it seems intersphinx ignores py:module context.

Thanks,
Takeshi KOMIYA

2018-01-29 15:42 GMT+09:00 Jan Ulrich Hasecke <juh+sphinx-us...@mailbox.org>:
>
>
> On 28.01.2018 16:54, Komiya Takeshi wrote:
>> Hi,
>>
>> In my local, following example works fine.
>>
>> ```
>> references using any role: :any:`Builder`
>>
>> .. py:class:: sphinx.builders.Builder
>> ```
>>
>> Could you share any example?
>
> Referencing to objects documented in the project itself works, I am
> trying to setup an intersphinx reference
>
> Maybe my setup is not correct:
>
> conf.py:
>
> intersphinx_mapping = {
> 'sphinx': ('http://sphinx-doc.org', None)
> }
>
> test.rst
> :any:`Builder`
>
>
>> Thanks,
>> Takeshi KOMIYA
>>
>> 2018-01-25 23:13 GMT+09:00 Jan Ulrich Hasecke <juh+sphinx-us...@mailbox.org>:
>>> Hi all!
>>>
>>> I tried to reproduce the behaviour of the docs.
>>> http://www.sphinx-doc.org/en/stable/markup/inline.html?highlight=referenc#role-any
>>>
>>> """
>>> For example, in the Python domain a reference of :any:`Builder` would
>>> match the sphinx.builders.Builder class.
>>> """
>>>
>>> This does not work in my project. I have to use
>>> :class:`sphinx.builders.Builder` to get the right link.
>>>
>>> Message of sphinx-build is:
>>>
>>> WARNING: 'any' reference target not found: Builder
>>>
>>>
>>> Any hints?
>>> juh
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "sphinx-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to sphinx-users+unsubscr...@googlegroups.com.
>>> To post to this group, send email to sphinx-users@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/sphinx-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sphinx-users+unsubscr...@googlegroups.com.
> To post to this group, send email to sphinx-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to