Просмотр исходного кода

Merge pull request #6350 from hexagonrecursion/fwp-smartquote

docs: do not transform --/--- to unicode dashes (master)
TW 3 лет назад
Родитель
Сommit
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 = {