-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 01.09.2010 16:59, schrieb Chris Withers: > Hi All, > > I know intersphinx supports references to python bits and pieces in > remote documentation, but how would I build a reference to section in a > remote document?
- From Sphinx 1.0 on, you can do this. You have to use a new-style intersphinx_mapping value, i.e. intersphinx_mapping = {'python': ('http://docs.python.org/dev/py3k', None)} where 'python' is an arbitrary label, and the two values in the tuple are those that would have been key and value for the old-style value. Then, use :ref:`python:label` to refer to the heading. The target document also has to be built with Sphinx 1.0 in order to have heading labels in its inventory. cheers, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAkx/YNwACgkQN9GcIYhpnLBauQCfQtK7P2541870CNESx7CIVsNG GTIAnj7nSp67O+T16XU2UDp/u8Iy2wTC =s+U+ -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.