{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/24178","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/24178/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/24178/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/24178/events","html_url":"https://github.com/rust-lang/rust/pull/24178","id":67032094,"number":24178,"title":"TRPL: revise the TOC","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},"labels":[],"state":"open","locked":false,"assignee":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-04-08T02:18:34Z","updated_at":"2015-04-08T15:32:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/24178","html_url":"https://github.com/rust-lang/rust/pull/24178","diff_url":"https://github.com/rust-lang/rust/pull/24178.diff","patch_url":"https://github.com/rust-lang/rust/pull/24178.patch"},"body":"Basically, the overall structure is this:\r\n\r\n* Getting Started - getting an environment up and running\r\n* Learn Rust - project-based learning the basics\r\n* Effective Rust - higher level concepts that lead to writing good rust\r\n* Syntax and Semantics - chunks of exactly what it sounds like\r\n* Nightly Rust - unstable stuff, a staging area for documenting features\r\n* Glossary - self-explanatory\r\n\r\nThere's a number of weaknesses with the current TOC, but I'll just focus on the strengths of the new one:\r\n\r\nWe start off with getting our environment set up. That's \"getting started\".\r\n\r\nThen, we basically present you with two choices: do you want to start small, with bits of syntax? Or do you want to dive in with projects?\r\n\r\nI'm guessing more people will choose the second, so that's the next part: \"Learn Rust.\" I don't have any chapters here, but this would have an updated guessing game, a tutorial on building a little `wc` clone, and something else I haven't decided yet. Lots of options. But the idea is to just dive in and get your hands dirty. I'll heavily link to the 'syntax and semantics' sections that are relevant.\r\n\r\nThen, a section I'm calling 'Effective Rust'. it feels greedy to steal that title, so I'm hoping to give it another name. These are higher-level things than syntax that Rust programmers should know: error handling is a great example. Most of these are sort of 'how do I use the standard library together' kinds of things. This also contains informations about systems programming that those new to it might not know: the stack vs the heap, for example.\r\n\r\nThen, \"Syntax and Semantics.\" This has one section for each bit of Rust. Small, focused, but explains _everything_. These are positioned to be almost entirely in-order, but heavily cross-link, so you can go out of order if you want to, but you can also use it as a reference.\r\n\r\nNext, \"Nightly Rust,\" where documenting unstable things goes. If we want to get good feedback on new features, they'll need to be documented, but we don't want to taint the main docs, so that's what this is for.\r\n\r\nFinally, the glossary. Straightforward enough.\r\n\r\n--------------------------------\r\n\r\nThis is going to be a terrible PR to review, so I just did the TOC re-organization, with basically no editing. So it'll be a bit jumbled at first. But next steps are to go through and edit / revise / tweak / add stuff to get it in tip-top shape for 1.0!"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/90951898","html_url":"https://github.com/rust-lang/rust/pull/24178#issuecomment-90951898","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/24178","id":90951898,"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-04-08T15:32:25Z","updated_at":"2015-04-08T15:32:25Z","body":"@bors: r=nikomatsakis p=1"}}