From 57ea8156a1bcc5d5e65327408ed23143bea031d4 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 15 Jul 2011 17:20:54 -0700 Subject: doc(ngdoc): add 'this' and 'returns' section for methods --- docs/src/ngdoc.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/src/ngdoc.js') diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index dc3ad5e1..148a400f 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -511,6 +511,9 @@ Doc.prototype = { dom.h(method.shortName + '(' + signature.join(', ') + ')', method, function(){ dom.html(method.description); method.html_usage_parameters(dom); + self.html_usage_this(dom); + method.html_usage_returns(dom); + dom.h('Example', method.example, dom.html); }); }); -- cgit v1.2.3