{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular/pulls/comments/30630227","id":30630227,"diff_hunk":"@@ -5,10 +5,15 @@\n .l-main-section\n   h2(class=\"function export\") {$ doc.name $}\n \n-  p <code>{$ paramList(doc.parameters) $}</code>\n+  {% if doc.parameters %}\n+  pre.prettyprint\n+    code.\n+      {$ doc.name $}{$ paramList(doc.parameters) | indent(4, true) | trim $}{$ returnType(doc.returnType) $}\n+  {% endif %}\n \n   p.location-badge.\n-    exported from <a href=\"/{$ doc.moduleDoc.path $}\">{$ doc.moduleDoc.id $}</a>\n+    exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }\n+    defined in <a href=\"https://github.com/angular/angular/tree/master/modules/{$ doc.fileInfo.relativePath $}#L{$ doc.location.start.line+1 $}-L{$ doc.location.end.line+1 $}\">{$ doc.fileInfo.relativePath $} (line {$ doc.location.start.line+1 $})</a>","path":"docs/angular.io-package/templates/function.template.html","position":14,"original_position":14,"commit_id":"714464c2ecbba902896574a2ec839d6b336c4d3e","original_commit_id":"c2fe221895ef2555b20a3b8325b250624b086b2f","user":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"body":"@naomiblack and @eggers I have put in a PR for this at #1994. Can you review?","created_at":"2015-05-19T18:25:12Z","updated_at":"2015-05-19T18:25:12Z","html_url":"https://github.com/angular/angular/pull/1886#discussion_r30630227","pull_request_url":"https://api.github.com/repos/angular/angular/pulls/1886","_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/comments/30630227"},"html":{"href":"https://github.com/angular/angular/pull/1886#discussion_r30630227"},"pull_request":{"href":"https://api.github.com/repos/angular/angular/pulls/1886"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/1886","id":35374434,"html_url":"https://github.com/angular/angular/pull/1886","diff_url":"https://github.com/angular/angular/pull/1886.diff","patch_url":"https://github.com/angular/angular/pull/1886.patch","issue_url":"https://api.github.com/repos/angular/angular/issues/1886","number":1886,"state":"closed","locked":false,"title":"TypeScript based documentation generation","user":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"body":"Closes #1729","created_at":"2015-05-13T21:48:11Z","updated_at":"2015-05-19T18:25:12Z","closed_at":"2015-05-19T13:39:59Z","merged_at":null,"merge_commit_sha":"a574be331c8ed1477064e8272816200f88060fa8","assignee":null,"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/23","html_url":"https://github.com/angular/angular/milestones/M8:%20GT%20Customer%20(non-blocking)","labels_url":"https://api.github.com/repos/angular/angular/milestones/23/labels","id":1054731,"number":23,"title":"M8: GT Customer (non-blocking)","description":"","creator":{"login":"mhevery","id":111951,"avatar_url":"https://avatars.githubusercontent.com/u/111951?v=3","gravatar_id":"","url":"https://api.github.com/users/mhevery","html_url":"https://github.com/mhevery","followers_url":"https://api.github.com/users/mhevery/followers","following_url":"https://api.github.com/users/mhevery/following{/other_user}","gists_url":"https://api.github.com/users/mhevery/gists{/gist_id}","starred_url":"https://api.github.com/users/mhevery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhevery/subscriptions","organizations_url":"https://api.github.com/users/mhevery/orgs","repos_url":"https://api.github.com/users/mhevery/repos","events_url":"https://api.github.com/users/mhevery/events{/privacy}","received_events_url":"https://api.github.com/users/mhevery/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":68,"state":"open","created_at":"2015-04-06T16:59:20Z","updated_at":"2015-05-19T17:39:16Z","due_on":"2015-05-05T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/angular/angular/pulls/1886/commits","review_comments_url":"https://api.github.com/repos/angular/angular/pulls/1886/comments","review_comment_url":"https://api.github.com/repos/angular/angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular/issues/1886/comments","statuses_url":"https://api.github.com/repos/angular/angular/statuses/714464c2ecbba902896574a2ec839d6b336c4d3e","head":{"label":"petebacondarwin:ts-doc-gen","ref":"ts-doc-gen","sha":"714464c2ecbba902896574a2ec839d6b336c4d3e","user":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"repo":{"id":27181953,"name":"angular","full_name":"petebacondarwin/angular","owner":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petebacondarwin/angular","description":"","fork":true,"url":"https://api.github.com/repos/petebacondarwin/angular","forks_url":"https://api.github.com/repos/petebacondarwin/angular/forks","keys_url":"https://api.github.com/repos/petebacondarwin/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petebacondarwin/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petebacondarwin/angular/teams","hooks_url":"https://api.github.com/repos/petebacondarwin/angular/hooks","issue_events_url":"https://api.github.com/repos/petebacondarwin/angular/issues/events{/number}","events_url":"https://api.github.com/repos/petebacondarwin/angular/events","assignees_url":"https://api.github.com/repos/petebacondarwin/angular/assignees{/user}","branches_url":"https://api.github.com/repos/petebacondarwin/angular/branches{/branch}","tags_url":"https://api.github.com/repos/petebacondarwin/angular/tags","blobs_url":"https://api.github.com/repos/petebacondarwin/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petebacondarwin/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petebacondarwin/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/petebacondarwin/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petebacondarwin/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/petebacondarwin/angular/languages","stargazers_url":"https://api.github.com/repos/petebacondarwin/angular/stargazers","contributors_url":"https://api.github.com/repos/petebacondarwin/angular/contributors","subscribers_url":"https://api.github.com/repos/petebacondarwin/angular/subscribers","subscription_url":"https://api.github.com/repos/petebacondarwin/angular/subscription","commits_url":"https://api.github.com/repos/petebacondarwin/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/petebacondarwin/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/petebacondarwin/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/petebacondarwin/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/petebacondarwin/angular/contents/{+path}","compare_url":"https://api.github.com/repos/petebacondarwin/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petebacondarwin/angular/merges","archive_url":"https://api.github.com/repos/petebacondarwin/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petebacondarwin/angular/downloads","issues_url":"https://api.github.com/repos/petebacondarwin/angular/issues{/number}","pulls_url":"https://api.github.com/repos/petebacondarwin/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/petebacondarwin/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/petebacondarwin/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petebacondarwin/angular/labels{/name}","releases_url":"https://api.github.com/repos/petebacondarwin/angular/releases{/id}","created_at":"2014-11-26T15:01:46Z","updated_at":"2014-11-26T15:01:46Z","pushed_at":"2015-05-19T18:22:40Z","git_url":"git://github.com/petebacondarwin/angular.git","ssh_url":"git@github.com:petebacondarwin/angular.git","clone_url":"https://github.com/petebacondarwin/angular.git","svn_url":"https://github.com/petebacondarwin/angular","homepage":null,"size":6423,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"04a9eb8820b83825867e94cac58ffa56725a86a4","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":24195339,"name":"angular","full_name":"angular/angular","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular","description":"","fork":false,"url":"https://api.github.com/repos/angular/angular","forks_url":"https://api.github.com/repos/angular/angular/forks","keys_url":"https://api.github.com/repos/angular/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular/teams","hooks_url":"https://api.github.com/repos/angular/angular/hooks","issue_events_url":"https://api.github.com/repos/angular/angular/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular/events","assignees_url":"https://api.github.com/repos/angular/angular/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular/tags","blobs_url":"https://api.github.com/repos/angular/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular/languages","stargazers_url":"https://api.github.com/repos/angular/angular/stargazers","contributors_url":"https://api.github.com/repos/angular/angular/contributors","subscribers_url":"https://api.github.com/repos/angular/angular/subscribers","subscription_url":"https://api.github.com/repos/angular/angular/subscription","commits_url":"https://api.github.com/repos/angular/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular/merges","archive_url":"https://api.github.com/repos/angular/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular/downloads","issues_url":"https://api.github.com/repos/angular/angular/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular/releases{/id}","created_at":"2014-09-18T16:12:01Z","updated_at":"2015-05-19T18:25:06Z","pushed_at":"2015-05-19T18:23:52Z","git_url":"git://github.com/angular/angular.git","ssh_url":"git@github.com:angular/angular.git","clone_url":"https://github.com/angular/angular.git","svn_url":"https://github.com/angular/angular","homepage":null,"size":27789,"stargazers_count":3121,"watchers_count":3121,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":800,"mirror_url":null,"open_issues_count":345,"forks":800,"open_issues":345,"watchers":3121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/1886"},"html":{"href":"https://github.com/angular/angular/pull/1886"},"issue":{"href":"https://api.github.com/repos/angular/angular/issues/1886"},"comments":{"href":"https://api.github.com/repos/angular/angular/issues/1886/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular/pulls/1886/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular/pulls/1886/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular/statuses/714464c2ecbba902896574a2ec839d6b336c4d3e"}}}}