Quellcode durchsuchen

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 vor 5 Jahren
Ursprung
Commit
4f0f9e0120
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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"