Merge pull request #50394 from HaSa1002/make-rst-code-blocks-less-redundant

Makerst: Remove redundant GDScript from code blocks
This commit is contained in:
Rémi Verschelde 2021-07-12 13:35:37 +02:00 committed by GitHub
commit 8dccf0f9b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -842,7 +842,7 @@ def rstize_text(text, state): # type: (str, State) -> str
inside_code = True
elif cmd == "gdscript":
tag_depth += 1
tag_text = "\n .. code-tab:: gdscript GDScript\n"
tag_text = "\n .. code-tab:: gdscript\n"
inside_code = True
elif cmd == "csharp":
tag_depth += 1