浏览代码

Merge pull request #2472 from enkore/f/docs-disable-smartypants

docs: disable smartypants
TW 8 年之前
父节点
当前提交
f2d19a906f
共有 1 个文件被更改,包括 3 次插入1 次删除
  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 = {