Small note addition

This commit is contained in:
Robert Jelic
2025-10-29 18:17:40 +01:00
parent 5a1ec672a7
commit d2e0c30b80
3 changed files with 27 additions and 6 deletions

View File

@@ -141,6 +141,11 @@ BasaltDoc.registerAnnotation("@skip", function(target, args)
target.skip = true
end)
BasaltDoc.registerAnnotation("@note", function(target, args)
if not target.notes then target.notes = {} end
table.insert(target.notes, args)
end)
BasaltDoc.registerAnnotation("@globalDescription", function(target, args)
if args and args ~= "" then
target.description = args