-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 24.04.2010 15:32, schrieb Doug Hellmann: > > On Apr 19, 2010, at 3:19 PM, adball wrote: > >> Where I work we have a base project and several customized projects >> that extend and customize it for the needs of particular customers. >> We have documentation in Sphinx for the base project and for many of >> the custom projects as well. >> >> I would really like to be able to do something >> like :ref:`<core:tasks_and_assignments>` from one of the custom >> projects to refer to a label in the the Sphinx documentation for the >> base project. I originally thought that Intersphinx would do this, >> but it appears that it only allows me to refer to Python objects from >> another Sphinx project. >> Naturally, some configuration would be needed to say where each named >> external project resides, and the solution I have in mind is tied to >> HTML output. >> >> Would this be an easy extension to write? Am I missing something that >> can already do such a thing? I fear that I will need to resort to >> regular links, like <http://ci.americanri.com.ofc/docs/PowerReg/ >> tasks_and_assignments.html> instead for now. > > I have a use for this, too. Let me know if you're interested in > collaborating on a new extension.
This is now part of Sphinx 1.0. Since labels aren't unique for all projects, you can also give names to projects referenced by intersphinx, and reference labels like this: :ref:`Comparisons <python:comparisons>`. Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAkwCN+gACgkQN9GcIYhpnLCBdQCfR0Cm8KDfycqfEI0mRSN9IkBU Wg8An3wDH07fEc00oYP/cDD3eQee0i69 =Em2Y -----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 [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.
