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.18.41~15^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=118736be43434f78bbc74d5be20a40c570b613f3;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. (cherry picked from commit 66e58d33158c982b1ce67455d78809a927a0d155) --- diff --git a/doc/arm/conf.py b/doc/arm/conf.py index f6fd1ab05d1..c28ddfaa73f 100644 --- a/doc/arm/conf.py +++ b/doc/arm/conf.py @@ -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