450e0f28a4
The single backtick markup in ReST is the "default role". Currently, Sphinx's default role is called "content". Sphinx suggests you can use the "Any" role instead to turn any single-backtick enclosed item into a cross-reference. This is useful for things like autodoc for Python docstrings, where it's often nicer to reference other types with `foo` instead of the more laborious :py:meth:`foo`. It's also useful in multi-domain cases to easily reference definitions from other Sphinx domains, such as referencing C code definitions from outside of kerneldoc comments. Before we do that, though, we'll need to turn all existing usages of the "content" role to inline verbatim markup wherever it does not correctly resolve into a cross-refernece by using double backticks instead. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Alexander Bulekov <alxndr@bu.edu> Message-Id: <20211004215238.1523082-2-jsnow@redhat.com> |
||
---|---|---|
.. | ||
barrier.rst | ||
bitmaps.rst | ||
dbus-vmstate.rst | ||
dbus.rst | ||
firmware.json | ||
index.rst | ||
live-block-operations.rst | ||
nbd.txt | ||
parallels.txt | ||
pr-helper.rst | ||
prl-xml.txt | ||
qcow2.txt | ||
qed_spec.txt | ||
qemu-ga-ref.rst | ||
qemu-ga.rst | ||
qemu-qmp-ref.rst | ||
qemu-storage-daemon-qmp-ref.rst | ||
qmp-intro.txt | ||
qmp-spec.txt | ||
vhost-user-gpu.rst | ||
vhost-user.json | ||
vhost-user.rst | ||
vhost-vdpa.rst | ||
vnc-ledstate-Pseudo-encoding.txt |