소스 검색

Merge pull request #6350 from hexagonrecursion/fwp-smartquote

docs: do not transform --/--- to unicode dashes (master)
TW 3 년 전
부모
커밋
f61e92c600
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 = {