{"action":"opened","number":2988,"pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/2988","id":81226920,"html_url":"https://github.com/rust-lang/cargo/pull/2988","diff_url":"https://github.com/rust-lang/cargo/pull/2988.diff","patch_url":"https://github.com/rust-lang/cargo/pull/2988.patch","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2988","number":2988,"state":"open","locked":false,"title":"Make `cargo doc --open --target TARGET` work as expected.","user":{"login":"lifthrasiir","id":323836,"avatar_url":"https://avatars.githubusercontent.com/u/323836?v=3","gravatar_id":"","url":"https://api.github.com/users/lifthrasiir","html_url":"https://github.com/lifthrasiir","followers_url":"https://api.github.com/users/lifthrasiir/followers","following_url":"https://api.github.com/users/lifthrasiir/following{/other_user}","gists_url":"https://api.github.com/users/lifthrasiir/gists{/gist_id}","starred_url":"https://api.github.com/users/lifthrasiir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifthrasiir/subscriptions","organizations_url":"https://api.github.com/users/lifthrasiir/orgs","repos_url":"https://api.github.com/users/lifthrasiir/repos","events_url":"https://api.github.com/users/lifthrasiir/events{/privacy}","received_events_url":"https://api.github.com/users/lifthrasiir/received_events","type":"User","site_admin":false},"body":"Currently `cargo doc --open` opens `$TARGET/doc` unconditionally, but it is incorrect if the explicit target is specified.\r\n\r\nThe target directory should be same to what `Layout::new()` generates, and ideally it should use the same data source (it hadn't been so far), but I'm yet to find a good way to signal that. At least I'm pretty sure that `Compilation` is not a good position to put them (it assumes the bipartite \"root\"-\"deps\" separation which doesn't quite work in documentation).","created_at":"2016-08-13T21:34:40Z","updated_at":"2016-08-13T21:34:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/cargo/pulls/2988/commits","review_comments_url":"https://api.github.com/repos/rust-lang/cargo/pulls/2988/comments","review_comment_url":"https://api.github.com/repos/rust-lang/cargo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2988/comments","statuses_url":"https://api.github.com/repos/rust-lang/cargo/statuses/60afff01d4b37e2177b7a862e763e4ca4b4c2d64","head":{"label":"lifthrasiir:doc-open-with-target","ref":"doc-open-with-target","sha":"60afff01d4b37e2177b7a862e763e4ca4b4c2d64","user":{"login":"lifthrasiir","id":323836,"avatar_url":"https://avatars.githubusercontent.com/u/323836?v=3","gravatar_id":"","url":"https://api.github.com/users/lifthrasiir","html_url":"https://github.com/lifthrasiir","followers_url":"https://api.github.com/users/lifthrasiir/followers","following_url":"https://api.github.com/users/lifthrasiir/following{/other_user}","gists_url":"https://api.github.com/users/lifthrasiir/gists{/gist_id}","starred_url":"https://api.github.com/users/lifthrasiir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifthrasiir/subscriptions","organizations_url":"https://api.github.com/users/lifthrasiir/orgs","repos_url":"https://api.github.com/users/lifthrasiir/repos","events_url":"https://api.github.com/users/lifthrasiir/events{/privacy}","received_events_url":"https://api.github.com/users/lifthrasiir/received_events","type":"User","site_admin":false},"repo":{"id":65637672,"name":"cargo","full_name":"lifthrasiir/cargo","owner":{"login":"lifthrasiir","id":323836,"avatar_url":"https://avatars.githubusercontent.com/u/323836?v=3","gravatar_id":"","url":"https://api.github.com/users/lifthrasiir","html_url":"https://github.com/lifthrasiir","followers_url":"https://api.github.com/users/lifthrasiir/followers","following_url":"https://api.github.com/users/lifthrasiir/following{/other_user}","gists_url":"https://api.github.com/users/lifthrasiir/gists{/gist_id}","starred_url":"https://api.github.com/users/lifthrasiir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifthrasiir/subscriptions","organizations_url":"https://api.github.com/users/lifthrasiir/orgs","repos_url":"https://api.github.com/users/lifthrasiir/repos","events_url":"https://api.github.com/users/lifthrasiir/events{/privacy}","received_events_url":"https://api.github.com/users/lifthrasiir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lifthrasiir/cargo","description":"The Rust package manager","fork":true,"url":"https://api.github.com/repos/lifthrasiir/cargo","forks_url":"https://api.github.com/repos/lifthrasiir/cargo/forks","keys_url":"https://api.github.com/repos/lifthrasiir/cargo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lifthrasiir/cargo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lifthrasiir/cargo/teams","hooks_url":"https://api.github.com/repos/lifthrasiir/cargo/hooks","issue_events_url":"https://api.github.com/repos/lifthrasiir/cargo/issues/events{/number}","events_url":"https://api.github.com/repos/lifthrasiir/cargo/events","assignees_url":"https://api.github.com/repos/lifthrasiir/cargo/assignees{/user}","branches_url":"https://api.github.com/repos/lifthrasiir/cargo/branches{/branch}","tags_url":"https://api.github.com/repos/lifthrasiir/cargo/tags","blobs_url":"https://api.github.com/repos/lifthrasiir/cargo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lifthrasiir/cargo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lifthrasiir/cargo/git/refs{/sha}","trees_url":"https://api.github.com/repos/lifthrasiir/cargo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lifthrasiir/cargo/statuses/{sha}","languages_url":"https://api.github.com/repos/lifthrasiir/cargo/languages","stargazers_url":"https://api.github.com/repos/lifthrasiir/cargo/stargazers","contributors_url":"https://api.github.com/repos/lifthrasiir/cargo/contributors","subscribers_url":"https://api.github.com/repos/lifthrasiir/cargo/subscribers","subscription_url":"https://api.github.com/repos/lifthrasiir/cargo/subscription","commits_url":"https://api.github.com/repos/lifthrasiir/cargo/commits{/sha}","git_commits_url":"https://api.github.com/repos/lifthrasiir/cargo/git/commits{/sha}","comments_url":"https://api.github.com/repos/lifthrasiir/cargo/comments{/number}","issue_comment_url":"https://api.github.com/repos/lifthrasiir/cargo/issues/comments{/number}","contents_url":"https://api.github.com/repos/lifthrasiir/cargo/contents/{+path}","compare_url":"https://api.github.com/repos/lifthrasiir/cargo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lifthrasiir/cargo/merges","archive_url":"https://api.github.com/repos/lifthrasiir/cargo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lifthrasiir/cargo/downloads","issues_url":"https://api.github.com/repos/lifthrasiir/cargo/issues{/number}","pulls_url":"https://api.github.com/repos/lifthrasiir/cargo/pulls{/number}","milestones_url":"https://api.github.com/repos/lifthrasiir/cargo/milestones{/number}","notifications_url":"https://api.github.com/repos/lifthrasiir/cargo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lifthrasiir/cargo/labels{/name}","releases_url":"https://api.github.com/repos/lifthrasiir/cargo/releases{/id}","deployments_url":"https://api.github.com/repos/lifthrasiir/cargo/deployments","created_at":"2016-08-13T21:28:11Z","updated_at":"2016-08-13T21:28:13Z","pushed_at":"2016-08-13T21:31:22Z","git_url":"git://github.com/lifthrasiir/cargo.git","ssh_url":"git@github.com:lifthrasiir/cargo.git","clone_url":"https://github.com/lifthrasiir/cargo.git","svn_url":"https://github.com/lifthrasiir/cargo","homepage":"https://crates.io/","size":74356,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"rust-lang:master","ref":"master","sha":"c205132c6ff66babd0eb741e08363f1d79d77eba","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":17420913,"name":"cargo","full_name":"rust-lang/cargo","owner":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang/cargo","description":"The Rust package manager","fork":false,"url":"https://api.github.com/repos/rust-lang/cargo","forks_url":"https://api.github.com/repos/rust-lang/cargo/forks","keys_url":"https://api.github.com/repos/rust-lang/cargo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/cargo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/cargo/teams","hooks_url":"https://api.github.com/repos/rust-lang/cargo/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/cargo/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/cargo/events","assignees_url":"https://api.github.com/repos/rust-lang/cargo/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/cargo/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/cargo/tags","blobs_url":"https://api.github.com/repos/rust-lang/cargo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/cargo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/cargo/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/cargo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/cargo/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/cargo/languages","stargazers_url":"https://api.github.com/repos/rust-lang/cargo/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/cargo/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/cargo/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/cargo/subscription","commits_url":"https://api.github.com/repos/rust-lang/cargo/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/cargo/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/cargo/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/cargo/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang/cargo/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/cargo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/cargo/merges","archive_url":"https://api.github.com/repos/rust-lang/cargo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/cargo/downloads","issues_url":"https://api.github.com/repos/rust-lang/cargo/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/cargo/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/cargo/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/cargo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/cargo/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/cargo/releases{/id}","deployments_url":"https://api.github.com/repos/rust-lang/cargo/deployments","created_at":"2014-03-04T23:20:42Z","updated_at":"2016-08-13T09:20:24Z","pushed_at":"2016-08-09T19:13:36Z","git_url":"git://github.com/rust-lang/cargo.git","ssh_url":"git@github.com:rust-lang/cargo.git","clone_url":"https://github.com/rust-lang/cargo.git","svn_url":"https://github.com/rust-lang/cargo","homepage":"https://crates.io/","size":74356,"stargazers_count":1759,"watchers_count":1759,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":418,"mirror_url":null,"open_issues_count":341,"forks":418,"open_issues":341,"watchers":1759,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/2988"},"html":{"href":"https://github.com/rust-lang/cargo/pull/2988"},"issue":{"href":"https://api.github.com/repos/rust-lang/cargo/issues/2988"},"comments":{"href":"https://api.github.com/repos/rust-lang/cargo/issues/2988/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/2988/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/cargo/pulls/2988/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/cargo/statuses/60afff01d4b37e2177b7a862e763e4ca4b4c2d64"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"lifthrasiir"}}