What's the difference between a target
and a reference
in reStructured Text?
I'm trying to understand the reST spec and how hyperlinks work in sphinx, which is surprisingly non-intuitive.
Unfortunately, the documentation just says "to be completed" for the target
and reference
elements:
- https://docutils.sourceforge.io/docs/ref/doctree.html#target
- https://docutils.sourceforge.io/docs/ref/doctree.html#reference
What's the difference between target
and reference
elements in .rst
files.
(Bonus: why isn't the above documentation complete? Are these elements new to reStructuredText?)