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

This closes #4593.
This commit is contained in:
Hugo Locurcio
2021-01-28 00:57:51 +01:00
parent 7abf5d608e
commit 7c71a2898b

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,