From 62fe744024255793a1a990bbace215403a3c9646 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 6 Mar 2016 02:58:56 -0500 Subject: clean up api-docs.ecr --- src/guff/views/api-docs.ecr | 63 ++++++++++++++++++++++++++++----------------- 1 file changed, 40 insertions(+), 23 deletions(-) (limited to 'src/guff') diff --git a/src/guff/views/api-docs.ecr b/src/guff/views/api-docs.ecr index d31be21..bda25f5 100644 --- a/src/guff/views/api-docs.ecr +++ b/src/guff/views/api-docs.ecr @@ -1,9 +1,12 @@

<%= h(TITLE) %>

-
+

Table of Contents

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

<%= namespace %> methods

+

+ <%= namespace %> methods +

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

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

+

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

Description

-

+

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

+

Parameters

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