Skip to content

Commit 6f92e08

Browse files
authored
Merge pull request #109 from aturon/stage2-learn
Stage 2 revisions: learn Rust
2 parents aad344a + 3be15bf commit 6f92e08

File tree

1 file changed

+77
-61
lines changed

1 file changed

+77
-61
lines changed

templates/learn/index.hbs

Lines changed: 77 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
<header>
44
<div class="container">
5-
<h1>Learn Rust!</h1>
6-
<h1 class="subtitle">From "Hello, World!" to "The world is mine"</h1>
5+
<h1>Learn Rust</h1>
76
</div>
87
</header>
98

@@ -15,16 +14,15 @@
1514
</header>
1615
<div class="row">
1716
<div class="eight columns" id="the-book">
18-
<p>Affectionately nicknamed "the book," <a
19-
href="https://doc.rust-lang.org/book/">The Rust Programming
20-
Language</a> will give you an overview of the language from first
21-
principles. You'll build a few projects along the way, and by the
22-
end, you'll have a solid grasp of the language.</p>
17+
<p>Affectionately nicknamed "the book," <a href="https://doc.rust-lang.org/book/">The Rust Programming
18+
Language</a> will give you an overview of the language from first
19+
principles. You'll build a few projects along the way, and by the
20+
end, you'll have a solid grasp of the language.</p>
2321
<p>If reading multiple hundreds of pages about a language isn't your
24-
style, then <a href="https://doc.rust-lang.org/rust-by-example/">Rust
25-
By Example</a> has you covered. While the book talks about code with
26-
a lot of words, RBE shows off a bunch of code, and keeps the talking
27-
to a minimum. It also includes exercises!</p>
22+
style, then <a href="https://doc.rust-lang.org/rust-by-example/">Rust
23+
By Example</a> has you covered. While the book talks about code with
24+
a lot of words, RBE shows off a bunch of code, and keeps the talking
25+
to a minimum. It also includes exercises!</p>
2826
</div>
2927
<div class="four columns">
3028
<img src="http://via.placeholder.com/350x200">
@@ -39,43 +37,72 @@
3937
<h2>Use Rust</h2>
4038
<div class="highlight highlight-yellow"></div>
4139
</header>
42-
<p>Once you've gotten familliar with the basics of the language, these resources can help you increase your knowledge and help you when you're actually using Rust day-to-day.</p>
40+
<p>Go beyond the basics &mdash; these resources help you use Rust day-to-day.</p>
4341
<div class="row">
44-
<div class="six columns" id="improve-skills">
45-
<h3>Improve your skills!</h3>
46-
<p>This stuff can take you to the next level:</p>
47-
<div class="row">
48-
<div class="six columns domain" id="cli-guide">
49-
<img src="/static/images/cli.svg" />
50-
<h4>CLI Guide</h4>
51-
</div>
52-
<div class="six columns domain" id="webassembly-guide">
53-
<img src="/static/images/webassembly.svg" />
54-
<h4>WebAssembly Guide</h4>
55-
</div>
42+
<h3>Read the core documentation</h3>
43+
<div class="row">
44+
<div class="three columns">
45+
<a href="https://doc.rust-lang.org/std/index.html">The standard library</a>
5646
</div>
57-
<div class="row">
58-
<div class="six columns domain" id="networking-guide">
59-
<img src="/static/images/networking.svg" />
60-
<h4>Networking Guide</h4>
61-
</div>
62-
<div class="six columns domain" id="embedded-guide">
63-
<img src="/static/images/embedded.svg" />
64-
<h4>Embedded Guide</h4>
65-
</div>
47+
<div class="eight columns">
48+
Comprehensive guide to <code>std</code> APIs.
6649
</div>
6750
</div>
68-
<div class="six columns" id="helpful-references">
69-
<h3>Helpful References</h3>
70-
<p>Here's some reference material you'll find useful when writing Rust.</p>
71-
<ul>
72-
<li>The <a href="https://doc.rust-lang.org/std/index.html">Standard Library documentation</a> describes the functionality of Rust's standard library.</li>
73-
<li>The <a href="https://doc.rust-lang.org/cargo/index.html">Cargo Book</a> will show you all the ins and outs of Rust's package manager and build system.</li>
74-
<li>The <a href="https://doc.rust-lang.org/rustdoc/index.html"><code>rustdoc</code> Book</a> will help you make awesome documentation for your crates.</li>
75-
<li>The <a href="https://doc.rust-lang.org/rustc/index.html"><code>rustc</code> Book</a> describes the usage of the Rust compiler.</li>
76-
<li>If you've got an error, you can also check out the <a href="https://doc.rust-lang.org/error-index.html">Extended Error Code Index</a>.</li>
77-
</ul>
51+
<div class="row">
52+
<div class="three columns">
53+
<a href="https://doc.rust-lang.org/cargo/index.html">Cargo</a>
54+
</div>
55+
<div class="eight columns">
56+
A book on Rust's package manager and build system.
57+
</div>
7858
</div>
59+
<div class="row">
60+
<div class="three columns">
61+
<a href="https://doc.rust-lang.org/rustdoc/index.html"><code>rustdoc</code> Book</a>
62+
</div>
63+
<div class="eight columns">
64+
Learn how to make awesome documentation for your crate.
65+
</div>
66+
</div>
67+
<div class="row">
68+
<div class="three columns">
69+
<a href="https://doc.rust-lang.org/rustc/index.html"><code>rustc</code> Book</a>
70+
</div>
71+
<div class="eight columns">
72+
Familiarize yourself with the knobs available in the Rust compiler.
73+
</div>
74+
</div>
75+
<div class="row">
76+
<div class="three columns">
77+
<a href="https://doc.rust-lang.org/error-index.html">The
78+
error code index</a>
79+
</div>
80+
<div class="eight columns">
81+
In-depth explanations of the errors you may see from the Rust compiler.
82+
</div>
83+
</div>
84+
</div>
85+
<div class="row">
86+
<h3>Build your skills in an application domain</h3>
87+
<div class="row">
88+
<div class="three columns domain" id="cli-guide">
89+
<img src="/static/images/cli.svg" />
90+
<h4>Command Line Guide</h4>
91+
</div>
92+
<div class="three columns domain" id="webassembly-guide">
93+
<img src="/static/images/webassembly.svg" />
94+
<h4>WebAssembly Guide</h4>
95+
</div>
96+
<div class="three columns domain" id="networking-guide">
97+
<img src="/static/images/networking.svg" />
98+
<h4>Networking Guide</h4>
99+
</div>
100+
<div class="three columns domain" id="embedded-guide">
101+
<img src="/static/images/embedded.svg" />
102+
<h4>Embedded Guide</h4>
103+
</div>
104+
</div>
105+
</div>
79106
</div>
80107
</section>
81108

@@ -85,37 +112,26 @@
85112
<h2>Master Rust</h2>
86113
<div class="highlight highlight-red"></div>
87114
</header>
88-
<p>Curious about the darkest corners of the language? Here's where you can get into the nitty-gritty:</p>
115+
<p>Curious about the darkest corners of the language? Here's where you can get into the nitty-gritty:</p>
89116
<div class="row">
90117
<div class="four columns book" id="the-reference">
91118
<img src="/static/images/reference.svg" />
92-
<p><a href="https://doc.rust-lang.org/reference/index.html">The Reference</a> is not a formal spec, but is more detailed and comprehensive than the book.</p>
119+
<p><a href="https://doc.rust-lang.org/reference/index.html">The Reference</a> is not a formal spec, but is more
120+
detailed and comprehensive than the book.</p>
93121
</div>
94122
<div class="four columns book" id="rustonomicon">
95123
<img src="/static/images/nomicon.svg" />
96-
<p><a href="https://doc.rust-lang.org/nomicon/index.html">The Rustonomicon</a> is your guidebook to the dark arts of unsafe Rust. It's also sometimes called "the 'nomicon."</p>
124+
<p><a href="https://doc.rust-lang.org/nomicon/index.html">The Rustonomicon</a> is your guidebook to the dark
125+
arts of unsafe Rust. It's also sometimes called "the 'nomicon."</p>
97126
</div>
98127
<div class="four columns book" id="the-unstable-book">
99128
<img src="/static/images/unstable.svg" />
100-
<p><a href="https://doc.rust-lang.org/unstable-book/index.html">The Unstable Book</a> has documentation for unstable features that you can only use with nightly Rust.</p>
129+
<p><a href="https://doc.rust-lang.org/unstable-book/index.html">The Unstable Book</a> has documentation for
130+
unstable features that you can only use with nightly Rust.</p>
101131
</div>
102132
</div>
103133
</div>
104134
</section>
105135

106-
<section id="learn-community">
107-
<div class="container">
108-
<header>
109-
<h2>Featured Community Content</h2>
110-
<div class="highlight highlight-green"></div>
111-
</header>
112-
<p>Here's some excellent resources from our great community!</p>
113-
<ul>
114-
<li>We're No Strangers To Love</li>
115-
<li>You Know The Rules, And So Do I</li>
116-
</ul>
117-
</div>
118-
</section>
119-
120136
{{/inline}}
121137
{{~> (parent)~}}

0 commit comments

Comments
 (0)