{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/28240","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/28240/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/28240/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/28240/events","html_url":"https://github.com/rust-lang/rust/pull/28240","id":104969108,"number":28240,"title":"rustbook: Fix relative links on the Introduction page","user":{"login":"nhowell","id":200475,"avatar_url":"https://avatars.githubusercontent.com/u/200475?v=3","gravatar_id":"","url":"https://api.github.com/users/nhowell","html_url":"https://github.com/nhowell","followers_url":"https://api.github.com/users/nhowell/followers","following_url":"https://api.github.com/users/nhowell/following{/other_user}","gists_url":"https://api.github.com/users/nhowell/gists{/gist_id}","starred_url":"https://api.github.com/users/nhowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhowell/subscriptions","organizations_url":"https://api.github.com/users/nhowell/orgs","repos_url":"https://api.github.com/users/nhowell/repos","events_url":"https://api.github.com/users/nhowell/events{/privacy}","received_events_url":"https://api.github.com/users/nhowell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-09-04T21:02:13Z","updated_at":"2015-09-04T21:48:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/28240","html_url":"https://github.com/rust-lang/rust/pull/28240","diff_url":"https://github.com/rust-lang/rust/pull/28240.diff","patch_url":"https://github.com/rust-lang/rust/pull/28240.patch"},"body":"The Introduction page generated by rustbook used weird relative links\r\nlike \"./getting-started.html\" instead of just \"getting-started.html\"\r\nlike on the other pages. This adversely affected Windows builds the\r\nworst, since it generated links like \".\\getting-started.html\" (note the\r\nbackslash). If you then try to upload the generated book to a webserver,\r\nyou end up with 404's. See this example of what is going on with the\r\nIntroduction page links and why this PR should fix it:\r\nhttp://is.gd/fRUTXk\r\n\r\nCompare the links on these two pages, for instance:\r\nhttps://doc.rust-lang.org/nightly/book/\r\nhttps://doc.rust-lang.org/nightly/book/getting-started.html\r\n\r\nAlso, fix a few whitespace issues in build.rs."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/137861702","html_url":"https://github.com/rust-lang/rust/pull/28240#issuecomment-137861702","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/28240","id":137861702,"user":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T21:48:12Z","updated_at":"2015-09-04T21:48:12Z","body":"@bors: r+"}}