Hi Josué,

On Tue, 12 Jul 2022 07:37:35 -0300, Josué Andrade Gomes wrote:

> Hi,
> 
> I’m trying to create a hyperlink to an autonumbered list item. The
> hyperlink works fine but the items are not correctly numbered.
> 
> Sample ------
> 
> See: :ref:`This <item-1>` and :ref:`That <item-2>`
> 
> Items -----
> 
> .. _item-1:
> 
> #. Item 1
> 
> .. _item-2:
> 
> #. Item 2

I can confirm the behaviour, which indeed is a bit strange. However, I  
made a quick test with the second label indented and it works:

.. _item-1:

#. Item 1

   .. _item-2:

#. Item 2

 Not sure this solution some unwanted side-effects, though!

Hope this helps,
Stefano


-- 
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/talnmd%24jc2%241%40ciao.gmane.io.

Reply via email to