Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 8d8489b

Browse files
committed
Merge pull request #11 from adridu59/gh-pages
Moving forward
2 parents a4f04de + e2be847 commit 8d8489b

21 files changed

+2044
-540
lines changed

bootstrap.min.css

Lines changed: 0 additions & 330 deletions
This file was deleted.

css/bootstrap.css

Lines changed: 1866 additions & 0 deletions
Large diffs are not rendered by default.

css/bootstrap.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

css/style.css

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
body {
2+
margin: 0 auto;
3+
margin-top: 30px;
4+
padding: 0;
5+
/*
6+
* TODO: change this to max-width and work out
7+
* a responsive design, Bootstrap 3 is there already!
8+
*/
9+
width: 820px;
10+
}
11+
h1 small {
12+
color: #777;
13+
}
14+
p {
15+
margin: 20px 0;
16+
}
17+
18+
.col-md-2 {
19+
/*
20+
* TODO: use min-width: 992px media query or
21+
* cleanup this when switching to resp. design.
22+
*/
23+
width: 20%;
24+
}
25+
.col-md-2 {
26+
padding: 0px;
27+
}
28+
29+
.col-md-3 h2 {
30+
font-weight: bold;
31+
font-size: 1.1em;
32+
line-height: 24px;
33+
margin-right: 10px;
34+
text-align: right;
35+
}
36+
.table-features {
37+
width: 100%;
38+
margin-bottom: 18px;
39+
border: 1px solid #ddd;
40+
border-radius: 4px;
41+
border-collapse: inherit;
42+
}
43+
.table-features td {
44+
padding: 6px 12px;
45+
border: none;
46+
}
47+
48+
ul.menu {
49+
font-size: 1em;
50+
margin: 0;
51+
padding: 0;
52+
}
53+
ul.menu li {
54+
list-style-type: none;
55+
}
56+
ul.menu h2 {
57+
font-size: 1.1em;
58+
font-weight: bold;
59+
margin: 0;
60+
}
61+
ul.menu li>ul {
62+
margin-top: .5em;
63+
padding-left: 0em;
64+
line-height: 1.5em;
65+
}

favicon.ico

2.81 KB
Binary file not shown.

index.html

Lines changed: 112 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -1,133 +1,111 @@
11
<!DOCTYPE html>
2-
3-
<html>
4-
5-
<head>
6-
<meta charset='utf-8'>
7-
8-
<title>The Rust Programming Language</title>
9-
10-
<link rel="stylesheet" href="bootstrap.min.css">
11-
<link rel="stylesheet" href="codemirror.css">
12-
<link rel="stylesheet" href="style.css">
13-
<link rel="shortcut icon" href="favicon.ico" />
14-
</head>
15-
16-
17-
<body>
18-
19-
<!-- GitHub banner -->
20-
<!--<a href="https://github.com/mozilla/rust"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a>-->
21-
22-
<div class="container">
23-
<div class="row">
24-
25-
<!-- Sidebar -->
26-
<div class="span2 logo">
27-
<img id="logo" src="logos/rust-logo-128x128-blk.png" alt="rust logo"/>
28-
</div>
29-
<div id="nav" class="span11">
30-
<ul class="unstyled menu top">
31-
<li class="menu-header"><span class="header-text">Getting Started</span>
32-
<ul>
33-
<li>
34-
<ul class="docs">
35-
<li><a href="http://doc.rust-lang.org/doc/0.8/tutorial.html">Tutorial</a> (0.8)</li>
36-
<li><a href="http://doc.rust-lang.org/doc/0.8/rust.html">Manual</a> (0.8)</li>
37-
<li><a href="http://doc.rust-lang.org/doc/master/tutorial.html">Tutorial</a> (master)</li>
38-
<li><a href="http://doc.rust-lang.org/doc/master/rust.html">Manual</a> (master)</li>
39-
</ul>
40-
</li>
41-
</ul>
42-
</li>
43-
<li class="menu-header"><span class="header-text">Documentation</span>
44-
<ul>
45-
<li>
46-
<ul class="docs">
47-
<li><a href="http://doc.rust-lang.org/doc/0.8/std/index.html">std</a> |
48-
<a href="http://doc.rust-lang.org/doc/0.8/extra/index.html">extra</a> (0.8)</li>
49-
</ul>
50-
</li>
51-
<li>
52-
<ul class="docs">
53-
<li><a href="http://doc.rust-lang.org/doc/master/std/index.html">std</a> |
54-
<a href="http://doc.rust-lang.org/doc/master/extra/index.html">extra</a> (master)</li>
55-
</ul>
56-
</li>
57-
<li><a href="http://github.com/mozilla/rust/wiki/Docs">Other docs</a></li>
58-
</ul>
59-
</li>
60-
<li class="menu-header"><span class="header-text">Downloads</span>
61-
<ul>
62-
<li>0.8 - September 26 2013</li>
63-
<li>
64-
<a href="http://static.rust-lang.org/dist/rust-0.8.tar.gz">.tar.gz</a> |
65-
<a href="http://static.rust-lang.org/dist/rust-0.8-install.exe">.exe</a>
66-
</li>
67-
<li><a href="https://github.com/mozilla/rust/blob/0.8/RELEASES.txt">Release notes</a></li>
68-
<li><a href="https://github.com/mozilla/rust/wiki/Doc-releases">Previous releases</a></li>
69-
</ul>
70-
</li>
71-
<li class="menu-header"><span class="header-text">Community</span>
72-
<ul>
73-
<li><a href="http://github.com/mozilla/rust">GitHub</a></li>
74-
<li><a href="https://mail.mozilla.org/listinfo/rust-dev">rust-dev</a> mailing list</li>
75-
<li><a href="https://mail.mozilla.org/listinfo/rust-commits">rust-commits</a> mailing list</li>
76-
<li><a href="http://chat.mibbit.com/?server=irc.mozilla.org&amp;channel=%23rust">#rust on irc.mozilla.org</a></li>
77-
<li><a href="http://twitter.com/rustlang">Twitter</a></li>
78-
</ul>
79-
</li>
80-
</ul>
81-
</div> <!-- #nav -->
82-
83-
<!-- Main content -->
84-
<div id="main" class="span13">
85-
86-
<h1>Rust <small>a safe, concurrent, practical language</small></h1>
87-
88-
<p>
89-
Rust is a curly-brace, block-structured expression
90-
language. It visually resembles the C language family, but
91-
differs significantly in syntactic and semantic details. Its
92-
design is oriented toward concerns of “programming in the
93-
large”, that is, of creating and
94-
maintaining <em>boundaries</em> – both abstract and
95-
operational – that preserve large-system
96-
<em>integrity</em>, <em>availability</em>
97-
and <em>concurrency</em>.
98-
</p>
99-
100-
<p>
101-
It supports a mixture of imperative procedural, concurrent
102-
actor, object-oriented and pure functional styles. Rust also
103-
supports generic programming and metaprogramming, in both
104-
static and dynamic styles.
105-
</p>
106-
107-
108-
<div class="row">
109-
<div class="span3"><h2>A short summary of features</h2></div>
110-
111-
<div class="span10">
112-
<table id="features">
113-
<tr><td>Type system</td><td>static, nominal, linear, algebraic, locally inferred</td></tr>
114-
<tr><td>Memory safety</td><td>no null or dangling pointers, no buffer overflows</td></tr>
115-
<tr><td>Concurrency</td><td>lightweight tasks with message passing, no shared memory</td></tr>
116-
<tr><td>Generics</td><td>type parameterization with type classes</td></tr>
117-
<tr><td>Exception handling</td><td>unrecoverable unwinding with task isolation</td></tr>
118-
<tr><td>Memory model</td><td>optional task-local GC, safe pointer types with region analysis</td></tr>
119-
<tr><td>Compilation model</td><td>ahead-of-time, C/C++ compatible</td></tr>
120-
<tr><td>License</td><td>dual MIT / Apache 2</td></tr>
121-
</table>
122-
</div> <!-- .span10 -->
123-
</div> <!-- .row -->
124-
125-
126-
<div class="row">
127-
<div class="span3"><h2>A very small taste of what it looks like</h2></div>
128-
129-
<div class="span10">
130-
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>The Rust Programming Language</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="keywords" content="Rust, Rust programming language, rustlang, Mozilla Rust">
8+
9+
<link rel="stylesheet" href="css/bootstrap.min.css">
10+
<link rel="stylesheet" href="css/codemirror.css">
11+
<link rel="stylesheet" href="css/style.css">
12+
</head>
13+
14+
<body class="container">
15+
<ul class="row menu">
16+
<li class="col-xs-2 col-md-2">
17+
<img class="img-responsive" src="logos/rust-logo-128x128-blk-v2.png" height="128" width="128" alt="Rust logo" />
18+
</li>
19+
<li class="col-xs-2 col-md-2"><h2>Getting Started</h2>
20+
<ul>
21+
<li><a href="http://doc.rust-lang.org/doc/0.8/tutorial.html">Tutorial</a> (0.8)</li>
22+
<li><a href="http://doc.rust-lang.org/doc/0.8/rust.html">Manual</a> (0.8)</li>
23+
<li><a href="http://doc.rust-lang.org/doc/master/tutorial.html">Tutorial</a> (master)</li>
24+
<li><a href="http://doc.rust-lang.org/doc/master/rust.html">Manual</a> (master)</li>
25+
</ul>
26+
</li>
27+
<li class="col-xs-2 col-md-2"><h2>Documentation</h2>
28+
<ul>
29+
<li>
30+
<a href="http://doc.rust-lang.org/doc/0.8/std/index.html">std</a> |
31+
<a href="http://doc.rust-lang.org/doc/0.8/extra/index.html">extra</a> (0.8)
32+
</li>
33+
<li>
34+
<a href="http://doc.rust-lang.org/doc/master/std/index.html">std</a> |
35+
<a href="http://doc.rust-lang.org/doc/master/extra/index.html">extra</a> (master)
36+
</li>
37+
<li>
38+
<a href="http://github.com/mozilla/rust/wiki/Docs">Other docs</a>
39+
</li>
40+
</ul>
41+
</li>
42+
<li class="col-xs-2 col-md-2"><h2>Downloads</h2>
43+
<ul>
44+
<li>
45+
0.8 - Sep. 26 2013
46+
</li>
47+
<li>
48+
<a href="http://static.rust-lang.org/dist/rust-0.8.tar.gz">.tar.gz</a> |
49+
<a href="http://static.rust-lang.org/dist/rust-0.8-install.exe">.exe</a>
50+
</li>
51+
<li>
52+
<a href="https://github.com/mozilla/rust/blob/0.8/RELEASES.txt">Release notes</a>
53+
</li>
54+
<li>
55+
<a href="https://github.com/mozilla/rust/wiki/Doc-releases">Previous releases</a>
56+
</li>
57+
</ul>
58+
</li>
59+
<li class="col-xs-2 col-md-2"><h2>Community</h2>
60+
<ul>
61+
<li><a href="http://github.com/mozilla/rust">GitHub</a> |
62+
<a href="http://twitter.com/rustlang">Twitter</a></li>
63+
<li><a href="https://mail.mozilla.org/listinfo/rust-dev">rust-dev</a> mailing list</li>
64+
<li><a href="https://mail.mozilla.org/listinfo/rust-commits">rust-commits</a> mailing list</li>
65+
<li><a href="http://chat.mibbit.com/?server=irc.mozilla.org&amp;channel=%23rust">#rust on irc.mozilla.org</a></li>
66+
</ul>
67+
</li>
68+
</ul>
69+
<div>
70+
<h1>Rust <small>a safe, concurrent, practical language</small></h1>
71+
<p>
72+
Rust is a curly-brace, block-structured expression language.
73+
It visually resembles the C language family, but differs
74+
significantly in syntactic and semantic details.
75+
Its design is oriented toward concerns of “programming in the
76+
large”, that is, of creating and maintaining <em>boundaries</em>
77+
– both abstract and operational – that preserve large-system <em>
78+
integrity</em>, <em>availability</em> and <em>concurrency</em>.
79+
</p>
80+
<p>
81+
It supports a mixture of imperative procedural, concurrent
82+
actor, object-oriented and pure functional styles. Rust also
83+
supports generic programming and metaprogramming, in both
84+
static and dynamic styles.
85+
</p>
86+
87+
<div class="row">
88+
<div class="col-md-3">
89+
<h2>A short summary of features</h2>
90+
</div>
91+
<div class="col-md-9">
92+
<table class="table-features table-hover"><tbody>
93+
<tr><td>Type system</td><td>static, nominal, linear, algebraic, locally inferred</td></tr>
94+
<tr><td>Memory safety</td><td>no null or dangling pointers, no buffer overflows</td></tr>
95+
<tr><td>Concurrency</td><td>lightweight tasks with message passing, no shared memory</td></tr>
96+
<tr><td>Generics</td><td>type parametrization with type classes</td></tr>
97+
<tr><td>Exception handling</td><td>unrecoverable unwinding with task isolation</td></tr>
98+
<tr><td>Memory model</td><td>optional task-local GC, safe pointer types with region analysis</td></tr>
99+
<tr><td>Compilation model</td><td>ahead-of-time, C/C++ compatible</td></tr>
100+
<tr><td>License</td><td>dual MIT / Apache 2</td></tr>
101+
</tbody></table>
102+
</div>
103+
</div>
104+
<div class="row">
105+
<div class="col-md-3">
106+
<h2>A very small taste of what it looks like</h2>
107+
</div>
108+
<div class="col-md-9">
131109
<pre class="cm-s-default">
132110
<span class="cm-keyword">fn</span> <span class="cm-def">main</span>() {
133111
<span class="cm-keyword">let</span> <span class="cm-def">nums</span> = [<span class="cm-number">1</span>, <span class="cm-number">2</span>];
@@ -142,16 +120,8 @@ <h1>Rust <small>a safe, concurrent, practical language</small></h1>
142120
}
143121
}
144122
</pre>
145-
146-
147-
</div> <!-- .span10 -->
148-
149-
</div> <!-- .row -->
150-
</div> <!-- #main -->
151-
152-
</div> <!-- .row -->
153-
</div> <!-- #container -->
154-
155-
</body>
156-
157-
</html>
123+
</div>
124+
</div>
125+
</div>
126+
</body>
127+
</html>

logos/rust-logo-128x128-blk-v2.png

5.62 KB
Loading

logos/rust-logo-128x128-blk.png

-2.07 KB
Loading

logos/rust-logo-128x128.png

-4.22 KB
Loading

logos/rust-logo-16x16-blk.png

-204 Bytes
Loading

logos/rust-logo-16x16.png

-905 Bytes
Loading

logos/rust-logo-256x256-blk.png

-3.21 KB
Loading

logos/rust-logo-256x256.png

-3.25 KB
Loading

logos/rust-logo-32x32-blk.png

-1.17 KB
Loading

logos/rust-logo-32x32.png

-1.26 KB
Loading

logos/rust-logo-512x512-blk.png

-5.82 KB
Loading

logos/rust-logo-512x512.png

-6.76 KB
Loading

logos/rust-logo-64x64-blk.png

-1.47 KB
Loading

logos/rust-logo-64x64.png

-2.13 KB
Loading

style.css

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)