summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-08-05 00:18:56 +0200
committerGitHub <noreply@github.com>2021-08-05 00:18:56 +0200
commita544e77822b40b39198f92ee3346bbfe7921ac41 (patch)
tree11a287a887ddbf4b39e5d1b8dc37ca82cadf543f /core
parent73b1f5ac795b6c8d02931b30c84a5f94eb3752d7 (diff)
parentbf2839ea3ee280462fb9117a73bae407354ea832 (diff)
Merge pull request #51247 from pycbouh/docs-extract-theme-items
Add theme item descriptions to the online documentation
Diffstat (limited to 'core')
-rw-r--r--core/doc_data.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/core/doc_data.h b/core/doc_data.h
index 46ab697768..a3011fe275 100644
--- a/core/doc_data.h
+++ b/core/doc_data.h
@@ -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 {