mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Fix Sphinx add_lexer() deprecation in the GDScript extension (#4594)
This closes #4593.
This commit is contained in:
@@ -341,7 +341,7 @@ class GDScriptLexer(RegexLexer):
|
||||
|
||||
|
||||
def setup(sphinx):
|
||||
sphinx.add_lexer("gdscript", GDScriptLexer())
|
||||
sphinx.add_lexer("gdscript", GDScriptLexer)
|
||||
|
||||
return {
|
||||
"parallel_read_safe": True,
|
||||
|
||||
Reference in New Issue
Block a user