From: Petr Špaček Date: Thu, 11 Sep 2025 09:06:21 +0000 (+0200) Subject: Prevent Sphinx from messing up syntax with "smartquotes" feature X-Git-Tag: v9.21.14~49^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66e58d33158c982b1ce67455d78809a927a0d155;p=thirdparty%2Fbind9.git Prevent Sphinx from messing up syntax with "smartquotes" feature 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. --- diff --git a/doc/arm/conf.py b/doc/arm/conf.py index a3acd2bf04b..f41c27bb907 100644 --- a/doc/arm/conf.py +++ b/doc/arm/conf.py @@ -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