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

This broke the build.

This reverts commit 1f8dcbeee7.
This commit is contained in:
Hugo Locurcio
2021-02-05 23:40:26 +01:00
parent f528a844d6
commit cf655aa176

View File

@@ -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,