diff mbox series

[v2,2/4,DO-NOT-MERGE] docs/sphinx: change default role to "any"

Message ID 20210416192819.2958482-3-jsnow@redhat.com (mailing list archive)
State New, archived
Headers show
Series qapi: static typing conversion, "pt0" | expand

Commit Message

John Snow April 16, 2021, 7:28 p.m. UTC
This interprets single-backtick syntax in all of our Sphinx docs as a
cross-reference to *something*, including Python symbols.

Signed-off-by: John Snow <jsnow@redhat.com>
 docs/conf.py | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series


diff --git a/docs/conf.py b/docs/conf.py
index 2ee61118725..8752e436ebe 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -84,6 +84,9 @@ 
 # The master toctree document.
 master_doc = 'index'
+# Interpret `this` to be a cross-reference to "anything".
+default_role = 'any'
 # General information about the project.
 project = u'QEMU'
 copyright = u'2020, The QEMU Project Developers'