From ea6c8d5b8b3a4223b21f8cf2a08af14bb9e81352 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 29 Jun 2016 19:54:22 -0300 Subject: [PATCH] Add Variant to the list of clases, so it can be documented (make sure it can't be documented that it can't be used). Closes #5237 --- tools/doc/doc_data.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/doc/doc_data.cpp b/tools/doc/doc_data.cpp index e3689cf13d9..470dd078aef 100644 --- a/tools/doc/doc_data.cpp +++ b/tools/doc/doc_data.cpp @@ -455,6 +455,12 @@ void DocData::generate(bool p_basic_types) { } + { + //so it can be documented that it does not exist + class_list["Variant"]=ClassDoc(); + class_list["Variant"].name="Variant"; + } + if (!p_basic_types) return;