{"action":"created","comment":{"url":"https://api.github.com/repos/hexpm/hex/pulls/comments/88649485","pull_request_review_id":9217415,"id":88649485,"diff_hunk":"@@ -137,12 +138,13 @@ defmodule Mix.Tasks.Hex.Docs do\n     end\n   end\n \n-  defp get_docs_url([name]) do\n-    Hex.Utils.hexdocs_url(name)\n+  defp get_docs_url([name], opts) do\n+    {_, latest_version} = find_package_version(name, opts)\n+    Hex.Utils.hexdocs_url(name, latest_version, opts[:module])","path":"lib/mix/tasks/hex/docs.ex","position":null,"original_position":33,"commit_id":"9aae3562515f0215b7ed5bb23c09fcb2bcd6e55b","original_commit_id":"82c542ea41540a2c813c42539ef72e5501a47d2b","user":{"login":"Mehonoshin","id":525961,"avatar_url":"https://avatars.githubusercontent.com/u/525961?v=3","gravatar_id":"","url":"https://api.github.com/users/Mehonoshin","html_url":"https://github.com/Mehonoshin","followers_url":"https://api.github.com/users/Mehonoshin/followers","following_url":"https://api.github.com/users/Mehonoshin/following{/other_user}","gists_url":"https://api.github.com/users/Mehonoshin/gists{/gist_id}","starred_url":"https://api.github.com/users/Mehonoshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mehonoshin/subscriptions","organizations_url":"https://api.github.com/users/Mehonoshin/orgs","repos_url":"https://api.github.com/users/Mehonoshin/repos","events_url":"https://api.github.com/users/Mehonoshin/events{/privacy}","received_events_url":"https://api.github.com/users/Mehonoshin/received_events","type":"User","site_admin":false},"body":"@whatyouhide thanks, here it is","created_at":"2016-11-18T12:35:44Z","updated_at":"2016-11-18T12:35:44Z","html_url":"https://github.com/hexpm/hex/pull/316#discussion_r88649485","pull_request_url":"https://api.github.com/repos/hexpm/hex/pulls/316","_links":{"self":{"href":"https://api.github.com/repos/hexpm/hex/pulls/comments/88649485"},"html":{"href":"https://github.com/hexpm/hex/pull/316#discussion_r88649485"},"pull_request":{"href":"https://api.github.com/repos/hexpm/hex/pulls/316"}}},"pull_request":{"url":"https://api.github.com/repos/hexpm/hex/pulls/316","id":94338383,"html_url":"https://github.com/hexpm/hex/pull/316","diff_url":"https://github.com/hexpm/hex/pull/316.diff","patch_url":"https://github.com/hexpm/hex/pull/316.patch","issue_url":"https://api.github.com/repos/hexpm/hex/issues/316","number":316,"state":"open","locked":false,"title":"Add --module flag to hex.docs task","user":{"login":"Mehonoshin","id":525961,"avatar_url":"https://avatars.githubusercontent.com/u/525961?v=3","gravatar_id":"","url":"https://api.github.com/users/Mehonoshin","html_url":"https://github.com/Mehonoshin","followers_url":"https://api.github.com/users/Mehonoshin/followers","following_url":"https://api.github.com/users/Mehonoshin/following{/other_user}","gists_url":"https://api.github.com/users/Mehonoshin/gists{/gist_id}","starred_url":"https://api.github.com/users/Mehonoshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mehonoshin/subscriptions","organizations_url":"https://api.github.com/users/Mehonoshin/orgs","repos_url":"https://api.github.com/users/Mehonoshin/repos","events_url":"https://api.github.com/users/Mehonoshin/events{/privacy}","received_events_url":"https://api.github.com/users/Mehonoshin/received_events","type":"User","site_admin":false},"body":"As discussed at #315 adding `--module` flag for opening specified module documentation","created_at":"2016-11-18T10:36:59Z","updated_at":"2016-11-18T12:35:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bda60bf1438f5d71aaf8c33791b289f76871a712","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hexpm/hex/pulls/316/commits","review_comments_url":"https://api.github.com/repos/hexpm/hex/pulls/316/comments","review_comment_url":"https://api.github.com/repos/hexpm/hex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hexpm/hex/issues/316/comments","statuses_url":"https://api.github.com/repos/hexpm/hex/statuses/9aae3562515f0215b7ed5bb23c09fcb2bcd6e55b","head":{"label":"Mehonoshin:open-module-docs","ref":"open-module-docs","sha":"9aae3562515f0215b7ed5bb23c09fcb2bcd6e55b","user":{"login":"Mehonoshin","id":525961,"avatar_url":"https://avatars.githubusercontent.com/u/525961?v=3","gravatar_id":"","url":"https://api.github.com/users/Mehonoshin","html_url":"https://github.com/Mehonoshin","followers_url":"https://api.github.com/users/Mehonoshin/followers","following_url":"https://api.github.com/users/Mehonoshin/following{/other_user}","gists_url":"https://api.github.com/users/Mehonoshin/gists{/gist_id}","starred_url":"https://api.github.com/users/Mehonoshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mehonoshin/subscriptions","organizations_url":"https://api.github.com/users/Mehonoshin/orgs","repos_url":"https://api.github.com/users/Mehonoshin/repos","events_url":"https://api.github.com/users/Mehonoshin/events{/privacy}","received_events_url":"https://api.github.com/users/Mehonoshin/received_events","type":"User","site_admin":false},"repo":{"id":74034753,"name":"hex","full_name":"Mehonoshin/hex","owner":{"login":"Mehonoshin","id":525961,"avatar_url":"https://avatars.githubusercontent.com/u/525961?v=3","gravatar_id":"","url":"https://api.github.com/users/Mehonoshin","html_url":"https://github.com/Mehonoshin","followers_url":"https://api.github.com/users/Mehonoshin/followers","following_url":"https://api.github.com/users/Mehonoshin/following{/other_user}","gists_url":"https://api.github.com/users/Mehonoshin/gists{/gist_id}","starred_url":"https://api.github.com/users/Mehonoshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mehonoshin/subscriptions","organizations_url":"https://api.github.com/users/Mehonoshin/orgs","repos_url":"https://api.github.com/users/Mehonoshin/repos","events_url":"https://api.github.com/users/Mehonoshin/events{/privacy}","received_events_url":"https://api.github.com/users/Mehonoshin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mehonoshin/hex","description":"Package manager for the Erlang VM","fork":true,"url":"https://api.github.com/repos/Mehonoshin/hex","forks_url":"https://api.github.com/repos/Mehonoshin/hex/forks","keys_url":"https://api.github.com/repos/Mehonoshin/hex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mehonoshin/hex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mehonoshin/hex/teams","hooks_url":"https://api.github.com/repos/Mehonoshin/hex/hooks","issue_events_url":"https://api.github.com/repos/Mehonoshin/hex/issues/events{/number}","events_url":"https://api.github.com/repos/Mehonoshin/hex/events","assignees_url":"https://api.github.com/repos/Mehonoshin/hex/assignees{/user}","branches_url":"https://api.github.com/repos/Mehonoshin/hex/branches{/branch}","tags_url":"https://api.github.com/repos/Mehonoshin/hex/tags","blobs_url":"https://api.github.com/repos/Mehonoshin/hex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mehonoshin/hex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mehonoshin/hex/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mehonoshin/hex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mehonoshin/hex/statuses/{sha}","languages_url":"https://api.github.com/repos/Mehonoshin/hex/languages","stargazers_url":"https://api.github.com/repos/Mehonoshin/hex/stargazers","contributors_url":"https://api.github.com/repos/Mehonoshin/hex/contributors","subscribers_url":"https://api.github.com/repos/Mehonoshin/hex/subscribers","subscription_url":"https://api.github.com/repos/Mehonoshin/hex/subscription","commits_url":"https://api.github.com/repos/Mehonoshin/hex/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mehonoshin/hex/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mehonoshin/hex/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mehonoshin/hex/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mehonoshin/hex/contents/{+path}","compare_url":"https://api.github.com/repos/Mehonoshin/hex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mehonoshin/hex/merges","archive_url":"https://api.github.com/repos/Mehonoshin/hex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mehonoshin/hex/downloads","issues_url":"https://api.github.com/repos/Mehonoshin/hex/issues{/number}","pulls_url":"https://api.github.com/repos/Mehonoshin/hex/pulls{/number}","milestones_url":"https://api.github.com/repos/Mehonoshin/hex/milestones{/number}","notifications_url":"https://api.github.com/repos/Mehonoshin/hex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mehonoshin/hex/labels{/name}","releases_url":"https://api.github.com/repos/Mehonoshin/hex/releases{/id}","deployments_url":"https://api.github.com/repos/Mehonoshin/hex/deployments","created_at":"2016-11-17T14:30:02Z","updated_at":"2016-11-17T14:30:03Z","pushed_at":"2016-11-18T12:34:56Z","git_url":"git://github.com/Mehonoshin/hex.git","ssh_url":"git@github.com:Mehonoshin/hex.git","clone_url":"https://github.com/Mehonoshin/hex.git","svn_url":"https://github.com/Mehonoshin/hex","homepage":"https://hex.pm","size":1574,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":"hexpm:master","ref":"master","sha":"e77887ad024298a2d9de0f5cd1328ae4aa5c4c35","user":{"login":"hexpm","id":6621265,"avatar_url":"https://avatars.githubusercontent.com/u/6621265?v=3","gravatar_id":"","url":"https://api.github.com/users/hexpm","html_url":"https://github.com/hexpm","followers_url":"https://api.github.com/users/hexpm/followers","following_url":"https://api.github.com/users/hexpm/following{/other_user}","gists_url":"https://api.github.com/users/hexpm/gists{/gist_id}","starred_url":"https://api.github.com/users/hexpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hexpm/subscriptions","organizations_url":"https://api.github.com/users/hexpm/orgs","repos_url":"https://api.github.com/users/hexpm/repos","events_url":"https://api.github.com/users/hexpm/events{/privacy}","received_events_url":"https://api.github.com/users/hexpm/received_events","type":"Organization","site_admin":false},"repo":{"id":15400465,"name":"hex","full_name":"hexpm/hex","owner":{"login":"hexpm","id":6621265,"avatar_url":"https://avatars.githubusercontent.com/u/6621265?v=3","gravatar_id":"","url":"https://api.github.com/users/hexpm","html_url":"https://github.com/hexpm","followers_url":"https://api.github.com/users/hexpm/followers","following_url":"https://api.github.com/users/hexpm/following{/other_user}","gists_url":"https://api.github.com/users/hexpm/gists{/gist_id}","starred_url":"https://api.github.com/users/hexpm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hexpm/subscriptions","organizations_url":"https://api.github.com/users/hexpm/orgs","repos_url":"https://api.github.com/users/hexpm/repos","events_url":"https://api.github.com/users/hexpm/events{/privacy}","received_events_url":"https://api.github.com/users/hexpm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hexpm/hex","description":"Package manager for the Erlang VM","fork":false,"url":"https://api.github.com/repos/hexpm/hex","forks_url":"https://api.github.com/repos/hexpm/hex/forks","keys_url":"https://api.github.com/repos/hexpm/hex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hexpm/hex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hexpm/hex/teams","hooks_url":"https://api.github.com/repos/hexpm/hex/hooks","issue_events_url":"https://api.github.com/repos/hexpm/hex/issues/events{/number}","events_url":"https://api.github.com/repos/hexpm/hex/events","assignees_url":"https://api.github.com/repos/hexpm/hex/assignees{/user}","branches_url":"https://api.github.com/repos/hexpm/hex/branches{/branch}","tags_url":"https://api.github.com/repos/hexpm/hex/tags","blobs_url":"https://api.github.com/repos/hexpm/hex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hexpm/hex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hexpm/hex/git/refs{/sha}","trees_url":"https://api.github.com/repos/hexpm/hex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hexpm/hex/statuses/{sha}","languages_url":"https://api.github.com/repos/hexpm/hex/languages","stargazers_url":"https://api.github.com/repos/hexpm/hex/stargazers","contributors_url":"https://api.github.com/repos/hexpm/hex/contributors","subscribers_url":"https://api.github.com/repos/hexpm/hex/subscribers","subscription_url":"https://api.github.com/repos/hexpm/hex/subscription","commits_url":"https://api.github.com/repos/hexpm/hex/commits{/sha}","git_commits_url":"https://api.github.com/repos/hexpm/hex/git/commits{/sha}","comments_url":"https://api.github.com/repos/hexpm/hex/comments{/number}","issue_comment_url":"https://api.github.com/repos/hexpm/hex/issues/comments{/number}","contents_url":"https://api.github.com/repos/hexpm/hex/contents/{+path}","compare_url":"https://api.github.com/repos/hexpm/hex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hexpm/hex/merges","archive_url":"https://api.github.com/repos/hexpm/hex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hexpm/hex/downloads","issues_url":"https://api.github.com/repos/hexpm/hex/issues{/number}","pulls_url":"https://api.github.com/repos/hexpm/hex/pulls{/number}","milestones_url":"https://api.github.com/repos/hexpm/hex/milestones{/number}","notifications_url":"https://api.github.com/repos/hexpm/hex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hexpm/hex/labels{/name}","releases_url":"https://api.github.com/repos/hexpm/hex/releases{/id}","deployments_url":"https://api.github.com/repos/hexpm/hex/deployments","created_at":"2013-12-23T17:15:00Z","updated_at":"2016-11-18T10:33:53Z","pushed_at":"2016-11-18T12:34:56Z","git_url":"git://github.com/hexpm/hex.git","ssh_url":"git@github.com:hexpm/hex.git","clone_url":"https://github.com/hexpm/hex.git","svn_url":"https://github.com/hexpm/hex","homepage":"https://hex.pm","size":1676,"stargazers_count":302,"watchers_count":302,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":12,"forks":66,"open_issues":12,"watchers":302,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hexpm/hex/pulls/316"},"html":{"href":"https://github.com/hexpm/hex/pull/316"},"issue":{"href":"https://api.github.com/repos/hexpm/hex/issues/316"},"comments":{"href":"https://api.github.com/repos/hexpm/hex/issues/316/comments"},"review_comments":{"href":"https://api.github.com/repos/hexpm/hex/pulls/316/comments"},"review_comment":{"href":"https://api.github.com/repos/hexpm/hex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hexpm/hex/pulls/316/commits"},"statuses":{"href":"https://api.github.com/repos/hexpm/hex/statuses/9aae3562515f0215b7ed5bb23c09fcb2bcd6e55b"}}}}
{"actor":{"display_login":"Mehonoshin"}}