瀏覽代碼

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

Makerst: Remove redundant GDScript from code blocks
Rémi Verschelde 4 年之前
父節點
當前提交
8dccf0f9b5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/tools/makerst.py

+ 1 - 1
doc/tools/makerst.py

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