{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/1998","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/1998/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/1998/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/1998/events","html_url":"https://github.com/rust-lang/rust/issues/1998","id":3675895,"number":1998,"title":"Rustdoc needs to handle conditional compilation somehow","user":{"login":"brson","id":147214,"avatar_url":"https://avatars.githubusercontent.com/u/147214?v=3","gravatar_id":"","url":"https://api.github.com/users/brson","html_url":"https://github.com/brson","followers_url":"https://api.github.com/users/brson/followers","following_url":"https://api.github.com/users/brson/following{/other_user}","gists_url":"https://api.github.com/users/brson/gists{/gist_id}","starred_url":"https://api.github.com/users/brson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brson/subscriptions","organizations_url":"https://api.github.com/users/brson/orgs","repos_url":"https://api.github.com/users/brson/repos","events_url":"https://api.github.com/users/brson/events{/privacy}","received_events_url":"https://api.github.com/users/brson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-rustdoc","name":"A-rustdoc","color":"d7e102"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/P-low","name":"P-low","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2012-03-16T00:29:25Z","updated_at":"2015-07-17T02:32:29Z","closed_at":null,"body":"We have some functions that are reimplemented per architecture, with docs only on one implementation. Rustdoc should ideally be able to merge these docs.\r\n\r\nMore seriously though a bunch of our libc hierarchy can't be viewed because it's conditionally compiled and the docs are built on linux.\r\n\r\nProbably rustdoc should extract its documentation before pruning the AST for conditional compilation, collapse things with the same name into a single document, then run resolve."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/122152728","html_url":"https://github.com/rust-lang/rust/issues/1998#issuecomment-122152728","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/1998","id":122152728,"user":{"login":"retep998","id":666308,"avatar_url":"https://avatars.githubusercontent.com/u/666308?v=3","gravatar_id":"","url":"https://api.github.com/users/retep998","html_url":"https://github.com/retep998","followers_url":"https://api.github.com/users/retep998/followers","following_url":"https://api.github.com/users/retep998/following{/other_user}","gists_url":"https://api.github.com/users/retep998/gists{/gist_id}","starred_url":"https://api.github.com/users/retep998/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retep998/subscriptions","organizations_url":"https://api.github.com/users/retep998/orgs","repos_url":"https://api.github.com/users/retep998/repos","events_url":"https://api.github.com/users/retep998/events{/privacy}","received_events_url":"https://api.github.com/users/retep998/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T02:32:29Z","updated_at":"2015-07-17T02:32:29Z","body":"I ran out of fingers to count the number of times I've seen people not find Windows specific extension traits because the online docs were linux-only."}}