fix(docs): ignore DBQueryAsync

This commit is contained in:
Axel Cocat
2023-05-07 14:50:00 +02:00
parent 6c4a4dec7e
commit 36390f838e
2 changed files with 5 additions and 1 deletions

View File

@@ -1273,6 +1273,9 @@ namespace LuaGlobalFunctions
} }
template <typename T> template <typename T>
/**
* {docs_ignore}
*/
int DBQueryAsync(lua_State* L, DatabaseWorkerPool<T>& db) int DBQueryAsync(lua_State* L, DatabaseWorkerPool<T>& db)
{ {
const char* query = Eluna::CHECKVAL<const char*>(L, 1); const char* query = Eluna::CHECKVAL<const char*>(L, 1);

View File

@@ -246,7 +246,8 @@ class ClassParser(object):
# Format the method name into each prototype. # Format the method name into each prototype.
self.prototypes = [proto.format(self.method_name) for proto in self.prototypes] self.prototypes = [proto.format(self.method_name) for proto in self.prototypes]
self.methods.append(MethodDoc(self.method_name, self.description, self.prototypes, self.params, self.returned)) if not "{docs_ignore}" in self.description:
self.methods.append(MethodDoc(self.method_name, self.description, self.prototypes, self.params, self.returned))
# Table of which handler is used to handle each regular expressions. # Table of which handler is used to handle each regular expressions.
regex_handlers = { regex_handlers = {