From 50689142940720a7c9424697f8441a836948b9b5 Mon Sep 17 00:00:00 2001 From: Spencer Alger Date: Thu, 12 Dec 2013 20:31:09 -0700 Subject: [PATCH] added the examples to the generated doc files --- scripts/generate/templates/api_methods.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate/templates/api_methods.tmpl b/scripts/generate/templates/api_methods.tmpl index 11dbc6956..31059b29f 100644 --- a/scripts/generate/templates/api_methods.tmpl +++ b/scripts/generate/templates/api_methods.tmpl @@ -9,7 +9,7 @@ h3#<%= actionId %>.fn span.args (params, [callback]) a.perma(href="api.html#<%= actionId %>", title="Permalink") a.esdoc(href="<%= action.docUrl %>", title="Endpoint Docs") -// +//- h4 Spec: pre code <%= JSON.stringify(action, null, ' ').split('\n').map(function (line, i) { @@ -22,7 +22,7 @@ ul.params.api li. <%= paramWithDefault(paramName, param.default) %> <%= paramType(param.type) %> -<%= indent(4, param.description || '') %><% +<%= indent(param.description || '', 4) %><% }); %> li the usual