diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-26 16:01:49 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-26 16:02:39 +0100 |
commit | 2d20fc39aaa3a3e48f25cbb95f38f54fe2bcdd9f (patch) | |
tree | dd7f0c0305d3a6133f01e96ad0d6a3cbc54550eb /doc/tools | |
parent | 689db68822ad48a75a595e3dae17388dbbf64c10 (diff) |
doc: Drop unused 'category' property from header
We already removed it from the online docs with #35132.
Currently it can only be "Built-In Types" (Variant types) or "Core"
(everything else), which is of limited use.
We might also want to consider dropping it from `ClassDB` altogether
in Godot 4.0.
Diffstat (limited to 'doc/tools')
-rwxr-xr-x | doc/tools/makerst.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/tools/makerst.py b/doc/tools/makerst.py index 1ba942585c..9012de03b3 100755 --- a/doc/tools/makerst.py +++ b/doc/tools/makerst.py @@ -98,7 +98,6 @@ class ClassDef: self.methods = OrderedDict() # type: OrderedDict[str, List[MethodDef]] self.signals = OrderedDict() # type: OrderedDict[str, SignalDef] self.inherits = None # type: Optional[str] - self.category = None # type: Optional[str] self.brief_description = None # type: Optional[str] self.description = None # type: Optional[str] self.theme_items = None # type: Optional[OrderedDict[str, List[ThemeItemDef]]] @@ -122,10 +121,6 @@ class State: if inherits is not None: class_def.inherits = inherits - category = class_root.get("category") - if category is not None: - class_def.category = category - brief_desc = class_root.find("brief_description") if brief_desc is not None and brief_desc.text: class_def.brief_description = brief_desc.text |