Преглед на файлове

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 = {