From 91a048596b655333592231642652e25c7904ffda Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Tue, 26 Oct 2021 10:44:40 -0700 Subject: [PATCH] sphinx: enable proper quotes with the smartquotes module turn off the option for em-dashes. --- doc_src/conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc_src/conf.py b/doc_src/conf.py index 9d2344c32..09fa6a7fd 100644 --- a/doc_src/conf.py +++ b/doc_src/conf.py @@ -237,7 +237,9 @@ epub_title = project # A list of files that should not be packed into the epub file. epub_exclude_files = ["search.html"] -# Disable smart-quotes to prevent double dashes from becoming emdashes. -smartquotes = False +# Enable smart-quotes +# default action is 'qDe': quotes, Dashes, ellipsis. Skip dashes for --options +smartquotes = True +smartquotes_action = 'qe' linkcheck_ignore = [r'https://github.com/fish-shell/fish-shell/issues/\d+']