Oh I found it: See :ref:`link title <figure>`.
.. _figure: .. figure:: _static/UnixFileSystem.jpg :width: 50% :alt: Unix file system :align: center :name: test name Figure caption On Monday, August 20, 2012 3:18:52 PM UTC+4, Boris Kheyfets wrote: > > Is it somehow possible to have a figure caption different form the text of > the link to that figure? > > For example: > > Some text (see :ref:`myFigure`). > > .. _myFigure: > > .. figure:: _static/UnixFileSystem.jpg > :width: 50% > :alt: Unix file system > :align: center > > Unix file system > > Here I want the caption to be 'Unix file system', but the link should be > just 'figure'. While in the example -- the link will be called 'Unix file > system' -- sounds as if I were linking to another page -- while I'm just > linking to the figure below that paragraph. > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/hfvhiQUKH7oJ. To post to this group, send email to sphinx-dev@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.