Browse Source

docs: disable smartypants

Marian Beermann 8 năm trước cách đây
mục cha
commit
fcce0ca2bc
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      docs/conf.py

+ 3 - 1
docs/conf.py

@@ -148,7 +148,9 @@ html_last_updated_fmt = '%Y-%m-%d'
 
 # If true, SmartyPants will be used to convert quotes and dashes to
 # typographically correct entities.
-#html_use_smartypants = True
+#
+# This is disabled to avoid mangling --options-that-appear-in-texts.
+html_use_smartypants = False
 
 # Custom sidebar templates, maps document names to template names.
 html_sidebars = {