1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add theme item descriptions to the online documentation

This commit is contained in:
Yuri Sizov
2021-08-04 19:54:41 +03:00
parent 85186bc0c5
commit bf2839ea3e
48 changed files with 659 additions and 583 deletions

View File

@@ -116,6 +116,17 @@ public:
}
};
struct ThemeItemDoc {
String name;
String type;
String data_type;
String description;
String default_value;
bool operator<(const ThemeItemDoc &p_theme_item) const {
return name < p_theme_item.name;
}
};
struct TutorialDoc {
String link;
String title;
@@ -133,7 +144,7 @@ public:
Vector<ConstantDoc> constants;
Map<String, String> enums;
Vector<PropertyDoc> properties;
Vector<PropertyDoc> theme_properties;
Vector<ThemeItemDoc> theme_properties;
bool is_script_doc = false;
String script_path;
bool operator<(const ClassDoc &p_class) const {