瀏覽代碼

docs: do not transform --/--- to unicode dashes

Thomas Waldmann 3 年之前
父節點
當前提交
d6756d0070
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      docs/conf.py

+ 1 - 0
docs/conf.py

@@ -154,6 +154,7 @@ 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
+smartquotes_action = 'qe'  # no D in there means "do not transform -- and ---"
 
 # Custom sidebar templates, maps document names to template names.
 html_sidebars = {