From 196c44949370fb818e610b21c3b00344fdc3d03a Mon Sep 17 00:00:00 2001 From: Chris Kleinknecht Date: Wed, 11 Nov 2020 23:32:26 -0800 Subject: [PATCH] fix: Use "any" default role in sphinx (#550) So backtick'd text renders as code, links as appropriate. --- docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index fc6dec0497..d26c0698e6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -239,6 +239,10 @@ # Output file base name for HTML help builder. htmlhelp_basename = "google-cloud-spanner-django-doc" +# Use more convenient default role, affects text in single-backticks +# https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#cross-referencing-anything +default_role = "any" + # -- Options for warnings ------------------------------------------------------