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 years ago
parent
commit
4f0f9e0120
1 changed files with 2 additions and 0 deletions
  1. 2 0
      conf.py

+ 2 - 0
conf.py

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