aboutsummaryrefslogtreecommitdiff
path: root/src/guff/views/api-docs.ecr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-03-08 17:15:00 -0500
committerPaul Duncan <pabs@pablotron.org>2016-03-08 17:15:00 -0500
commit0f3de66b4b824394305caff297d5a5f829d79b2e (patch)
treed1208fdf81051a1f608efa33d8a4674121e461d1 /src/guff/views/api-docs.ecr
parentd5f49eee6c08bda1dad31bc906f54e44737e843f (diff)
downloadold-guff-0f3de66b4b824394305caff297d5a5f829d79b2e.tar.bz2
old-guff-0f3de66b4b824394305caff297d5a5f829d79b2e.zip
add mv views/*ecr views/ecrs/
Diffstat (limited to 'src/guff/views/api-docs.ecr')
-rw-r--r--src/guff/views/api-docs.ecr73
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 %>