### Godot version

4.1.beta3 (again)

### System information

4.1.beta3 - Ubuntu 22.04.2 LTS 22.04 - Vulkan (Forward+) - integrated Intel(R) HD Graphics 4400 (HSW GT2) () - Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz (4 Threads)

### Issue description

DocCache is listed in resources.
![image](https://github.com/godotengine/godot/assets/85438892/8a7bccab-a169-438f-b562-8b441396bf88)

If instantiated, it looks like this:
![image](https://github.com/godotengine/godot/assets/85438892/6e165950-19c7-4274-90e2-20527c48ef0d)

I can't find it in the Search Help menu. However, if I type it in the script editor and Ctrl+LMB, it leads to this documentation page:
![image](https://github.com/godotengine/godot/assets/85438892/ae79c3c1-01d8-4f25-a654-c53232968c24)

This is weird, as I just showed the class has properties. Normally, undocumented classes have fields for each undocumented property or method. This makes me think this is unintended. An undocumented class with members normally looks like this:

![image](https://github.com/godotengine/godot/assets/85438892/bbf1f47d-c947-44ac-8f34-c48f4fcad293)


### Steps to reproduce

Outlined above. F1 to open the Search Help menu. This button to create a resource:
![image](https://github.com/godotengine/godot/assets/85438892/e7b3f571-ad30-4b76-91ad-21918792af7b)


### Minimal reproduction project

N/A
static HashMap<StringName, ClassInfo> classes;
	static HashMap<StringName, StringName> resource_base_extensions;
	static HashMap<StringName, StringName> compat_classes;
#ifdef DEBUG_METHODS_ENABLED
	static MethodBind *bind_methodfi(uint32_t p_flags, MethodBind *p_bind, bool p_compatibility, const MethodDefinition &method_name, const Variant **p_defs, int p_defcount);
#else
	static MethodBind *bind_methodfi(uint32_t p_flags, MethodBind *p_bind, bool p_compatibility, const char *method_name, const Variant **p_defs, int p_defcount);
#endif
	static APIType current_api;
	static HashMap<APIType, uint64_t> api_hashes_cache;
	static void _add_class2(const StringName &p_class, const StringName &p_inherits);
	static HashMap<StringName, HashMap<StringName, Variant>> default_values;
	static HashSet<StringName> default_values_cached;
	
	struct NativeStruct {
		String ccode; 
		uint64_t struct_size; 
	};
	static HashMap<StringName, NativeStruct> native_structs;
private:
	
	static StringName _get_parent_class(const StringName &p_class);
	static bool _is_parent_class(const StringName &p_class, const StringName &p_inherits);
	static void _bind_compatibility(ClassInfo *type, MethodBind *p_method);
	static MethodBind *_bind_vararg_method(MethodBind *p_bind, const StringName &p_name, const Vector<Variant> &p_default_args, bool p_compatibility);
	static void _bind_method_custom(const StringName &p_class, MethodBind *p_method, bool p_compatibility);
public:
	
	template <class T>
	static void _add_class() {