Browse Source

disable smartquotes

Smartquotes will convert '"..."' to '“...”', will cause unexpected
result when we reference a string without using code block.

also in some languages (zh_TW for example), it will be converted to
'「...」', usually not a desired result.
BinotaLIU 5 năm trước cách đây
mục cha
commit
4f0f9e0120
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      conf.py

+ 2 - 0
conf.py

@@ -101,6 +101,8 @@ from sphinx.highlighting import lexers
 lexers["gdscript"] = GDScriptLexer()
 # fmt: on
 
+smartquotes = False
+
 # Pygments (syntax highlighting) style to use
 pygments_style = "sphinx"
 highlight_language = "gdscript"