Added ldoc comments for all lua modules and generated docs in documentation index.html

This commit is contained in:
SkylarHew
2022-01-20 11:04:44 -07:00
parent 5085d87f68
commit da7b996a8b
41 changed files with 4307 additions and 35 deletions

View File

@ -1,4 +1,4 @@
--- remove_member_consent
--- Calls consent to remove member from org
-- @module remove_member_consent
local remove_member_consent = {
@ -15,6 +15,9 @@ remove_member_consent.data = {
remove_member_consent.config = {
}
--- Removes given member from org
-- @function remove_member_consent:initiate
-- @param result
function remove_member_consent:initiate(result)
-- Abort if in root org
if self.org == modpol.instance then
@ -60,5 +63,4 @@ function remove_member_consent:complete()
if self.data.result then self.data.result() end
end
--- (Required) Add to module table
modpol.modules.remove_member_consent = remove_member_consent