]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Prevent Sphinx from messing up syntax with "smartquotes" feature
authorPetr Špaček <pspacek@isc.org>
Thu, 11 Sep 2025 09:06:21 +0000 (11:06 +0200)
committerPetr Špaček <pspacek@isc.org>
Thu, 11 Sep 2025 11:18:41 +0000 (11:18 +0000)
Sphinx's smartquotes feature was rewriting -- to en-dash, "" to proper
English quotes etc. This was messing up syntax at unpredictable places.
Disable this feature instead of attempting to escape all the places in
the manual.

(cherry picked from commit 66e58d33158c982b1ce67455d78809a927a0d155)

doc/arm/conf.py

index 88109203c14e4fa9d543d15a678f2903a12db8d8..95a8dfd4c1c2a12021d7217ae5c741c317352671 100644 (file)
@@ -185,6 +185,8 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "*.inc.rst"]
 # The master toctree document.
 master_doc = "index"
 
+smartquotes = False
+
 # -- Options for HTML output -------------------------------------------------
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for