Hello Sphinx Group,

I need to make a reference to an object, either before or after my :ref: 
reference, but currently all I can produce is the complete section title or 
figure caption.  Example:

blah blah.  We discuss this further in section :ref:`manual section number 
<some_link>`.

.. _some_link:

Section Title
-------------

Other Title
-----------

As alluded in :ref:`some_link`, the majority of ...

Unfortunately, both of those :ref: produces either a manual section 
insertion by me, or the Section Title.  Is there a way to ask Sphinx to 
just give me the section number?  (Analogous to what :eq:`SomeEquation` 
does.)  I especially need this with figures, where mentioning the entire 
figure caption is just plain wrong in my context.

Thanks,

Kevin

-- 
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/-/iZZywRyUiNYJ.
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.

Reply via email to