aboutsummaryrefslogtreecommitdiff
path: root/func.etlua
diff options
context:
space:
mode:
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>
-