Hello,
I am trying to put a link to the python standard documentation. For example:
"""Alternative constructor that accepts a :py:class:`~__builtin__.file`
object (or equivalent)."""
I am using the intersphinx extension, like so
extensions = ['sphinx.ext.autodoc','sphinx.ext.autosummary',
'sphinx.ext.intersphinx']
intersphinx_mapping = {'python': ('http://docs.python.org/2.7', None)}
Ive tried various syntax alternatives
(:py:class:`file`, :py:class:`~__builtin__.File` etc) but each time I get an
error like:
py:class reference target not found: __builtin__.file
What have I missed?
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.