aboutsummaryrefslogtreecommitdiff
path: root/func.etlua
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2020-07-05 17:18:56 -0400
committerAlexander Pickering <alex@cogarr.net>2020-07-05 17:18:56 -0400
commite87b06ee0fe2a588b72a356bbb8378899365d626 (patch)
tree0d0acd945a70644835e8958425e6d5e6c10196a6 /func.etlua
parentd2ba262c5307aa14c325ef53d8e4e56a5ece0376 (diff)
downloadmdoc-e87b06ee0fe2a588b72a356bbb8378899365d626.tar.gz
mdoc-e87b06ee0fe2a588b72a356bbb8378899365d626.tar.bz2
mdoc-e87b06ee0fe2a588b72a356bbb8378899365d626.zip
Add rockspec
Add a rockspec and move the files around so that luarocks can install it correctly
Diffstat (limited to 'func.etlua')
-rw-r--r--func.etlua43
1 files changed, 0 insertions, 43 deletions
diff --git a/func.etlua b/func.etlua
deleted file mode 100644
index f639603..0000000
--- a/func.etlua
+++ /dev/null
@@ -1,43 +0,0 @@
-
-<section>
- <h4 id="<%- name %>">
- <%- name %>(
- <% for n, param in pairs(data.params) do %>
- <% if param.optional then %>[<% end %>
- <% if n ~= 1 then %>,<% end %>
- <%- param.type %> <%- param.name %>
- <% if param.optional then %>]<% end %>
- <% end %>
- )
- </h4>
- <p><%- data.short_desc %>
- <p><%- data.desc %>
- <% if #data.params > 0 then %>
- <h5>Parameters</h5>
- <ul>
- <% for _, param in pairs(data.params) do %>
- <li>
- <p><b><%- param.name %></b>
- <% if param.optional then %>(optional)<% end %>
- <% if param.type then %>
- (<a href="<%- param.type %>.html"><%- param.type %></a>)
- <% end %>
- <p><%- param.description %>
- </li>
- <% end %>
- </ul>
- <% end %>
- <% if #data.returns > 0 then %>
- <h5>Returns</h5>
- <ul>
- <% for _, ret in pairs(data.returns) do %>
- <li>
- <p><a href="<%- ret.type %>.html"><%- ret.type %></a>
- <p><%- ret.description %>
- </li>
- <% end %>
- </ul>
- <% end %>
- <p> Defined at <%- data.file %>:<%- data.line %>
-</section>
-