{"action":"created","comment":{"url":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls/comments/30285875","id":30285875,"diff_hunk":"@@ -1,8 +1,84 @@\n+\n+\n+import newmodel.Package\n+import newmodel._\n+\n+import scala.collection.mutable.ListBuffer\n+\n /**\n  * Created by yaroslav on 11.05.2015.\n  */\n object Main {\n-  def main(args:Array[String]) ={\n-    println(\"hello world\")\n+\n+  object DummyIndex extends Index{\n+    val docElements = ListBuffer.empty[DocElement]\n+    override def getConversionsFor(id: ID): Seq[ImplicitConversions] = ???\n+\n+    override def getKnownSubclasses(id: ID): Seq[ID] = ???\n+\n+    override def getShadowedConversionsFor(id: ID): Seq[ImplicitConversions] = ???\n+\n+    override def getLinearSupertypesBy(id: ID): Seq[ID] = ???\n+\n+    override def getCompanionFor(id: ID): ID = ???\n+\n+    override def getDocElementBy(id: ID): DocElement = docElements.find((x) => x.id == id).get","path":"src/main/scala/Main.scala","position":27,"original_position":27,"commit_id":"49c693c497fea6635c4fbb07391b6c47f6f7b701","original_commit_id":"49c693c497fea6635c4fbb07391b6c47f6f7b701","user":{"login":"clhodapp","id":108633,"avatar_url":"https://avatars.githubusercontent.com/u/108633?v=3","gravatar_id":"","url":"https://api.github.com/users/clhodapp","html_url":"https://github.com/clhodapp","followers_url":"https://api.github.com/users/clhodapp/followers","following_url":"https://api.github.com/users/clhodapp/following{/other_user}","gists_url":"https://api.github.com/users/clhodapp/gists{/gist_id}","starred_url":"https://api.github.com/users/clhodapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clhodapp/subscriptions","organizations_url":"https://api.github.com/users/clhodapp/orgs","repos_url":"https://api.github.com/users/clhodapp/repos","events_url":"https://api.github.com/users/clhodapp/events{/privacy}","received_events_url":"https://api.github.com/users/clhodapp/received_events","type":"User","site_admin":false},"body":"`this looks very much we are building a stripped down Scala AST with helpers to make it easy to navigate it for docs purposes`\r\n\r\nI think the key here is reaping any gain is going to be making the format at least a bit opinionated about what \"api docs\" look like. Specifically, I would envision it as having a structure that reflected that api docs are conceptually page-oriented, where each page documents some `class`, `trait`, or `object`, each of which have sets of documentable fields, with links between things...","created_at":"2015-05-13T23:20:46Z","updated_at":"2015-05-13T23:20:46Z","html_url":"https://github.com/kolowheel/new-scaladoc/pull/1#discussion_r30285875","pull_request_url":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls/comments/30285875"},"html":{"href":"https://github.com/kolowheel/new-scaladoc/pull/1#discussion_r30285875"},"pull_request":{"href":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls/1","id":35356250,"html_url":"https://github.com/kolowheel/new-scaladoc/pull/1","diff_url":"https://github.com/kolowheel/new-scaladoc/pull/1.diff","patch_url":"https://github.com/kolowheel/new-scaladoc/pull/1.patch","issue_url":"https://api.github.com/repos/kolowheel/new-scaladoc/issues/1","number":1,"state":"open","locked":false,"title":"New scaladoc model","user":{"login":"kolowheel","id":4637784,"avatar_url":"https://avatars.githubusercontent.com/u/4637784?v=3","gravatar_id":"","url":"https://api.github.com/users/kolowheel","html_url":"https://github.com/kolowheel","followers_url":"https://api.github.com/users/kolowheel/followers","following_url":"https://api.github.com/users/kolowheel/following{/other_user}","gists_url":"https://api.github.com/users/kolowheel/gists{/gist_id}","starred_url":"https://api.github.com/users/kolowheel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolowheel/subscriptions","organizations_url":"https://api.github.com/users/kolowheel/orgs","repos_url":"https://api.github.com/users/kolowheel/repos","events_url":"https://api.github.com/users/kolowheel/events{/privacy}","received_events_url":"https://api.github.com/users/kolowheel/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-13T18:29:12Z","updated_at":"2015-05-13T23:20:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3792ea68fbd6e0e6ce7312bb23ab388beb17078b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls/1/commits","review_comments_url":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls/1/comments","review_comment_url":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kolowheel/new-scaladoc/issues/1/comments","statuses_url":"https://api.github.com/repos/kolowheel/new-scaladoc/statuses/49c693c497fea6635c4fbb07391b6c47f6f7b701","head":{"label":"kolowheel:new-scaladoc-model","ref":"new-scaladoc-model","sha":"49c693c497fea6635c4fbb07391b6c47f6f7b701","user":{"login":"kolowheel","id":4637784,"avatar_url":"https://avatars.githubusercontent.com/u/4637784?v=3","gravatar_id":"","url":"https://api.github.com/users/kolowheel","html_url":"https://github.com/kolowheel","followers_url":"https://api.github.com/users/kolowheel/followers","following_url":"https://api.github.com/users/kolowheel/following{/other_user}","gists_url":"https://api.github.com/users/kolowheel/gists{/gist_id}","starred_url":"https://api.github.com/users/kolowheel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolowheel/subscriptions","organizations_url":"https://api.github.com/users/kolowheel/orgs","repos_url":"https://api.github.com/users/kolowheel/repos","events_url":"https://api.github.com/users/kolowheel/events{/privacy}","received_events_url":"https://api.github.com/users/kolowheel/received_events","type":"User","site_admin":false},"repo":{"id":35413898,"name":"new-scaladoc","full_name":"kolowheel/new-scaladoc","owner":{"login":"kolowheel","id":4637784,"avatar_url":"https://avatars.githubusercontent.com/u/4637784?v=3","gravatar_id":"","url":"https://api.github.com/users/kolowheel","html_url":"https://github.com/kolowheel","followers_url":"https://api.github.com/users/kolowheel/followers","following_url":"https://api.github.com/users/kolowheel/following{/other_user}","gists_url":"https://api.github.com/users/kolowheel/gists{/gist_id}","starred_url":"https://api.github.com/users/kolowheel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolowheel/subscriptions","organizations_url":"https://api.github.com/users/kolowheel/orgs","repos_url":"https://api.github.com/users/kolowheel/repos","events_url":"https://api.github.com/users/kolowheel/events{/privacy}","received_events_url":"https://api.github.com/users/kolowheel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kolowheel/new-scaladoc","description":"","fork":false,"url":"https://api.github.com/repos/kolowheel/new-scaladoc","forks_url":"https://api.github.com/repos/kolowheel/new-scaladoc/forks","keys_url":"https://api.github.com/repos/kolowheel/new-scaladoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kolowheel/new-scaladoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kolowheel/new-scaladoc/teams","hooks_url":"https://api.github.com/repos/kolowheel/new-scaladoc/hooks","issue_events_url":"https://api.github.com/repos/kolowheel/new-scaladoc/issues/events{/number}","events_url":"https://api.github.com/repos/kolowheel/new-scaladoc/events","assignees_url":"https://api.github.com/repos/kolowheel/new-scaladoc/assignees{/user}","branches_url":"https://api.github.com/repos/kolowheel/new-scaladoc/branches{/branch}","tags_url":"https://api.github.com/repos/kolowheel/new-scaladoc/tags","blobs_url":"https://api.github.com/repos/kolowheel/new-scaladoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kolowheel/new-scaladoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kolowheel/new-scaladoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/kolowheel/new-scaladoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kolowheel/new-scaladoc/statuses/{sha}","languages_url":"https://api.github.com/repos/kolowheel/new-scaladoc/languages","stargazers_url":"https://api.github.com/repos/kolowheel/new-scaladoc/stargazers","contributors_url":"https://api.github.com/repos/kolowheel/new-scaladoc/contributors","subscribers_url":"https://api.github.com/repos/kolowheel/new-scaladoc/subscribers","subscription_url":"https://api.github.com/repos/kolowheel/new-scaladoc/subscription","commits_url":"https://api.github.com/repos/kolowheel/new-scaladoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/kolowheel/new-scaladoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/kolowheel/new-scaladoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/kolowheel/new-scaladoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/kolowheel/new-scaladoc/contents/{+path}","compare_url":"https://api.github.com/repos/kolowheel/new-scaladoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kolowheel/new-scaladoc/merges","archive_url":"https://api.github.com/repos/kolowheel/new-scaladoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kolowheel/new-scaladoc/downloads","issues_url":"https://api.github.com/repos/kolowheel/new-scaladoc/issues{/number}","pulls_url":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls{/number}","milestones_url":"https://api.github.com/repos/kolowheel/new-scaladoc/milestones{/number}","notifications_url":"https://api.github.com/repos/kolowheel/new-scaladoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kolowheel/new-scaladoc/labels{/name}","releases_url":"https://api.github.com/repos/kolowheel/new-scaladoc/releases{/id}","created_at":"2015-05-11T09:18:14Z","updated_at":"2015-05-11T09:28:09Z","pushed_at":"2015-05-13T18:29:13Z","git_url":"git://github.com/kolowheel/new-scaladoc.git","ssh_url":"git@github.com:kolowheel/new-scaladoc.git","clone_url":"https://github.com/kolowheel/new-scaladoc.git","svn_url":"https://github.com/kolowheel/new-scaladoc","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kolowheel:master","ref":"master","sha":"94a4547b0b962510f1f9669f7556a9302610d135","user":{"login":"kolowheel","id":4637784,"avatar_url":"https://avatars.githubusercontent.com/u/4637784?v=3","gravatar_id":"","url":"https://api.github.com/users/kolowheel","html_url":"https://github.com/kolowheel","followers_url":"https://api.github.com/users/kolowheel/followers","following_url":"https://api.github.com/users/kolowheel/following{/other_user}","gists_url":"https://api.github.com/users/kolowheel/gists{/gist_id}","starred_url":"https://api.github.com/users/kolowheel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolowheel/subscriptions","organizations_url":"https://api.github.com/users/kolowheel/orgs","repos_url":"https://api.github.com/users/kolowheel/repos","events_url":"https://api.github.com/users/kolowheel/events{/privacy}","received_events_url":"https://api.github.com/users/kolowheel/received_events","type":"User","site_admin":false},"repo":{"id":35413898,"name":"new-scaladoc","full_name":"kolowheel/new-scaladoc","owner":{"login":"kolowheel","id":4637784,"avatar_url":"https://avatars.githubusercontent.com/u/4637784?v=3","gravatar_id":"","url":"https://api.github.com/users/kolowheel","html_url":"https://github.com/kolowheel","followers_url":"https://api.github.com/users/kolowheel/followers","following_url":"https://api.github.com/users/kolowheel/following{/other_user}","gists_url":"https://api.github.com/users/kolowheel/gists{/gist_id}","starred_url":"https://api.github.com/users/kolowheel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolowheel/subscriptions","organizations_url":"https://api.github.com/users/kolowheel/orgs","repos_url":"https://api.github.com/users/kolowheel/repos","events_url":"https://api.github.com/users/kolowheel/events{/privacy}","received_events_url":"https://api.github.com/users/kolowheel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kolowheel/new-scaladoc","description":"","fork":false,"url":"https://api.github.com/repos/kolowheel/new-scaladoc","forks_url":"https://api.github.com/repos/kolowheel/new-scaladoc/forks","keys_url":"https://api.github.com/repos/kolowheel/new-scaladoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kolowheel/new-scaladoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kolowheel/new-scaladoc/teams","hooks_url":"https://api.github.com/repos/kolowheel/new-scaladoc/hooks","issue_events_url":"https://api.github.com/repos/kolowheel/new-scaladoc/issues/events{/number}","events_url":"https://api.github.com/repos/kolowheel/new-scaladoc/events","assignees_url":"https://api.github.com/repos/kolowheel/new-scaladoc/assignees{/user}","branches_url":"https://api.github.com/repos/kolowheel/new-scaladoc/branches{/branch}","tags_url":"https://api.github.com/repos/kolowheel/new-scaladoc/tags","blobs_url":"https://api.github.com/repos/kolowheel/new-scaladoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kolowheel/new-scaladoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kolowheel/new-scaladoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/kolowheel/new-scaladoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kolowheel/new-scaladoc/statuses/{sha}","languages_url":"https://api.github.com/repos/kolowheel/new-scaladoc/languages","stargazers_url":"https://api.github.com/repos/kolowheel/new-scaladoc/stargazers","contributors_url":"https://api.github.com/repos/kolowheel/new-scaladoc/contributors","subscribers_url":"https://api.github.com/repos/kolowheel/new-scaladoc/subscribers","subscription_url":"https://api.github.com/repos/kolowheel/new-scaladoc/subscription","commits_url":"https://api.github.com/repos/kolowheel/new-scaladoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/kolowheel/new-scaladoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/kolowheel/new-scaladoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/kolowheel/new-scaladoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/kolowheel/new-scaladoc/contents/{+path}","compare_url":"https://api.github.com/repos/kolowheel/new-scaladoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kolowheel/new-scaladoc/merges","archive_url":"https://api.github.com/repos/kolowheel/new-scaladoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kolowheel/new-scaladoc/downloads","issues_url":"https://api.github.com/repos/kolowheel/new-scaladoc/issues{/number}","pulls_url":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls{/number}","milestones_url":"https://api.github.com/repos/kolowheel/new-scaladoc/milestones{/number}","notifications_url":"https://api.github.com/repos/kolowheel/new-scaladoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kolowheel/new-scaladoc/labels{/name}","releases_url":"https://api.github.com/repos/kolowheel/new-scaladoc/releases{/id}","created_at":"2015-05-11T09:18:14Z","updated_at":"2015-05-11T09:28:09Z","pushed_at":"2015-05-13T18:29:13Z","git_url":"git://github.com/kolowheel/new-scaladoc.git","ssh_url":"git@github.com:kolowheel/new-scaladoc.git","clone_url":"https://github.com/kolowheel/new-scaladoc.git","svn_url":"https://github.com/kolowheel/new-scaladoc","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls/1"},"html":{"href":"https://github.com/kolowheel/new-scaladoc/pull/1"},"issue":{"href":"https://api.github.com/repos/kolowheel/new-scaladoc/issues/1"},"comments":{"href":"https://api.github.com/repos/kolowheel/new-scaladoc/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kolowheel/new-scaladoc/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/kolowheel/new-scaladoc/statuses/49c693c497fea6635c4fbb07391b6c47f6f7b701"}}}}