aboutsummaryrefslogtreecommitdiff
path: root/scripts/adeptsensedoc.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-03-07 09:28:43 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2012-03-07 09:28:43 -0500
commit96c85498c019e381d0aeed2e33e626563563ea8c (patch)
treea44a3ff017cc7c5de3e4845434324c7798689d24 /scripts/adeptsensedoc.lua
parent6c5bda943d87c629e3fbeaa9178d5fdcb96134c5 (diff)
downloadtextadept-96c85498c019e381d0aeed2e33e626563563ea8c.tar.gz
textadept-96c85498c019e381d0aeed2e33e626563563ea8c.zip
Documentation overhaul with Discount (Markdown implementation).
The standard LuaDoc template is no longer used. Instead, the new `scripts/markdowndoc.lua` has the template for LuaDoc and `scripts/update_doc` has the template for the Manual. Also added README, CHANGELOG, and THANKS files.
Diffstat (limited to 'scripts/adeptsensedoc.lua')
-rw-r--r--scripts/adeptsensedoc.lua10
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/adeptsensedoc.lua b/scripts/adeptsensedoc.lua
index cfae8898..61f651b4 100644
--- a/scripts/adeptsensedoc.lua
+++ b/scripts/adeptsensedoc.lua
@@ -184,12 +184,10 @@ function start(doc)
end
-- Tag the functions and write the apidoc.
for _, f in ipairs(m.functions) do
- if not f:find('no_functions') then -- ignore placeholders
- local func = f:match('[^%.:]+$')
- local ext_fields = module == '_G' and '' or 'class:'..module
- write_tag(ctags, func, 'f', ext_fields)
- write_apidoc(apidoc, m, m.functions[f])
- end
+ local func = f:match('[^%.:]+$')
+ local ext_fields = module == '_G' and '' or 'class:'..module
+ write_tag(ctags, func, 'f', ext_fields)
+ write_apidoc(apidoc, m, m.functions[f])
end
-- Tag the tables and write the apidoc.
for _, t in ipairs(m.tables or {}) do