From 2421d5f15569515d9fda3c6f36edeaf7e5222b54 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 6 Mar 2016 02:10:29 -0500 Subject: add api-docs --- src/guff/views/api-docs.ecr | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/guff/views/api-docs.ecr (limited to 'src/guff/views') diff --git a/src/guff/views/api-docs.ecr b/src/guff/views/api-docs.ecr new file mode 100644 index 0000000..8611285 --- /dev/null +++ b/src/guff/views/api-docs.ecr @@ -0,0 +1,32 @@ +

<%= TITLE %>

+ +
+

Table of Contents

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

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

+
+ <% end %> +<% end %> -- cgit v1.2.3