More sophisticated markup techniques
There are some additional markup techniques that can make a document easier to read. In particular, we often want useful cross-references between class definitions. We may also want cross-references between sections and topics within a document.
In pure RST (that is, without Sphinx), we need to provide proper URLs that reference different sections of our documents. We have three kinds of references:
Implicit references to section titles: We can use
`Some Heading`_to refer to theSome Headingsection. This will work for all the headings that docutils recognizes.Explicit references to targets: We can use
target_to reference the location of_targetin the document.Inter-document references: We have to create a full URL that explicitly references a section title. Docutils will translate section titles into all lowercase, replacing the punctuation with
-. This allows us to create a reference to a section title in an external document like this:`Design...