From 02668d640f714dc27dbb14fcddbf04a63bed7c85 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 6 Mar 2016 02:42:51 -0500 Subject: populate more of api docs --- src/guff/views/api-docs.ecr | 72 ++++++++++++++++++++++++++++++--------------- 1 file changed, 48 insertions(+), 24 deletions(-) (limited to 'src/guff/views') diff --git a/src/guff/views/api-docs.ecr b/src/guff/views/api-docs.ecr index 8611285..8ab9cc0 100644 --- a/src/guff/views/api-docs.ecr +++ b/src/guff/views/api-docs.ecr @@ -1,32 +1,56 @@

<%= TITLE %>

-

Table of Contents

- +

Table of Contents

+
<% namespaces.each do |namespace| %> - <% methods(namespace).each do |method| %> -
- <%= namespace %>/<%= method %> +
+

<%= namespace %> methods

+ <% methods(namespace).each do |method| %> +
+

<%= namespace %>/<%= method %>

+ +

Description

+

+ <%= h(method_text(namespace, method)) %> +

-

<%= - h(APIMethods::API[namespace][method][:text] as String) - %>

-
- <% end %> +

Parameters

+
    <% method_args(namespace, method).each do |arg| %> +
  • + <%= arg %>: + <%= h(arg_text(namespace, method, arg)) %> +
  • + <% end %>
+
+ <% end %> +
<% end %> -- cgit v1.2.3