diff options
Diffstat (limited to 'src/guff/views/api-docs.ecr')
-rw-r--r-- | src/guff/views/api-docs.ecr | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/src/guff/views/api-docs.ecr b/src/guff/views/api-docs.ecr deleted file mode 100644 index bda25f5..0000000 --- a/src/guff/views/api-docs.ecr +++ /dev/null @@ -1,73 +0,0 @@ -<h1><%= h(TITLE) %></h1> - -<div id='toc' class='section'> - <h2>Table of Contents</h2> - - <ul><% - namespaces.each do |namespace| - %> - <li class='namespace'> - <a - href='#n-<%= namespace %>' - title='View <%= namespace %> details.' - > - <%= namespace %> - </a> - - <ul class='methods'><% - methods(namespace).each do |method| - %> - <li class='method'> - <a - href='#m-<%= namespace %>-<%= method %>' - title='View <%= namespace %>/<%= method %> details.' - > - <%= method %> - </a> - </li><!-- method --> - <% end %></ul><!-- methods --> - </li><!-- namespace --> - <% end %></ul> -</div><!-- toc --> - -<% namespaces.each do |namespace| %> - <div - id='n-<%= namespace %>' - class='namespace section' - > - <h2 class='namespace title'> - <%= namespace %> methods - </h2><!-- namespace title --> - - <% methods(namespace).each do |method| %> - <div - id='m-<%= namespace %>-<%= method %>' - class='method section' - > - <h3 class='method title'> - <%= namespace %>/<%= method %> - </h3><!-- method title --> - - <h4>Description</h4> - <p class='method text'> - <%= h(method_text(namespace, method)) %> - </p><!-- method text --> - - <h4>Parameters</h4> - <ul class='args'><% - method_args(namespace, method).each do |arg| - %> - <li class='arg'> - <span class='arg name'><%= - arg - %></span><!-- arg name --> - - <span class='arg text'><%= - h(arg_text(namespace, method, arg)) - %></span><!-- arg text --> - </li><!-- arg --> - <% end %></ul><!-- args --> - </div><!-- method section --> - <% end %> - </div><!-- namespace section --> -<% end %> |