Added ldoc comments for all lua modules and generated docs in documentation index.html
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
--- change_modules
|
||||
-- @module change_modules
|
||||
-- Depends on consent
|
||||
-- @module change_modules
|
||||
|
||||
local change_modules = {
|
||||
name = "Change modules (consent)",
|
||||
@ -16,6 +16,9 @@ change_modules.data = {
|
||||
change_modules.config = {
|
||||
}
|
||||
|
||||
--- Initiate change in modules.
|
||||
-- Either adds or removes module depending on user input
|
||||
-- @function change_modules:initiate
|
||||
function change_modules:initiate(result)
|
||||
self.data.result = result
|
||||
-- Step 1: add or remove?
|
||||
@ -167,5 +170,4 @@ function change_modules:propose_change(type, mod_text)
|
||||
self.org:delete_process(self.id)
|
||||
end
|
||||
|
||||
--- (Required) Add to module table
|
||||
modpol.modules.change_modules = change_modules
|
||||
|
Reference in New Issue
Block a user