Just noticed this was never answered, so to close the loop... It turns out I just had the wrong syntax for the references. This works: :func:`http:add-resource`, where "http" is one of the keys in the intersphinx_mapping config and "add-resource" is the name of a function in that document.
On Monday, September 14, 2020 at 2:21:54 PM UTC-4 Carl Gay wrote: > Hi, we us Sphinx to document the Dylan > <http://opendylan.org/documentation> language. I would like to use > intersphinx to make it so that any Dylan library documentation can easily > link to any other via :dylan:func:`foo` and similar markup. Someone wrote > a Sphinx domain for Dylan > <https://github.com/dylan-lang/sphinx-extensions> but I'm not super > familiar with it (or Sphinx) yet. > > In this commit > <https://github.com/cgay/opendylan/commit/bf9121de973c30f8157f755a7fb1d6441ea59d6f> > > I added an intersphinx mapping to our Library Reference docs' conf.py and > then added a test link to index.rst, but Sphinx doesn't find the xref. To > verify that the intersphinx_mapping config is working I also added the > Python mapping and a :py: test link, which works fine. > > My question is, obviously, why doesn't this work? But more specifically, > how does Sphinx make the connection from the intersphinx mapping, which > uses the string 'python' to the domain name 'py' in > :py:class:`zipfile.ZipFile`? > > Thanks. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/d6520d32-97ea-4a4c-9b0e-bb74eb4f75efn%40googlegroups.com.