]> 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:04:10 +0000 (11:04 +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.

doc/arm/conf.py

index a3acd2bf04b4ff01c00dbd7c024f628b98e3bb00..f41c27bb907d253685a9414d133bd319119a87eb 100644 (file)
@@ -181,6 +181,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