Fix Sphinx add_lexer() deprecation in the GDScript extension (#4594)

This closes #4593.
This commit is contained in:
Hugo Locurcio
2021-01-29 01:53:55 +01:00
parent 7abf5d608e
commit 7c71a2898b
+1 -1
View File
@@ -339,7 +339,7 @@ class GDScriptLexer(RegexLexer):
def setup(sphinx):
sphinx.add_lexer("gdscript", GDScriptLexer())
sphinx.add_lexer("gdscript", GDScriptLexer)
return {
"parallel_read_safe": True,