Hi,
You can see what happened via `make pseudoxml`. It dumps the
intermediate document structure as XML.
This is a part of generated XML from your snippet.
```
<target refid="item-1">
<enumerated_list enumtype="arabic" ids="item-1" names="item-1"
prefix="" suffix=".">
<list_item>
<paragraph>
Item 1
<target refid="item-2">
<list_item ids="item-2" names="item-2">
<paragraph>
Item 2
```
There are two target nodes. First is placed before enumerated_list,
and another is placed at the tail of the first list_item.
And you can also see the ids attribute on the enumerated_list and the
second list_item.
Docutils automatically copies an ID from the target node to the subsequent node.
This is why your mark-up works.
2022年7月13日(水) 15:11 Steevie <
ste...@gmail.com>:
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/talnmd%24jc2%241%40ciao.gmane.io.