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,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