]> 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:47 +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 f6fd1ab05d19d68870f0e8178e9f561b961c6162..c28ddfaa73fdb49a7a76fcfdaa905ce3600e8fdd 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