forked from rust-lang/book
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 63492d4
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
book/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# The Rust Programming Language | ||
|
||
This is the next iteration of “The Rust Programming Language”, which is | ||
currently located [in the main Rust repository][src]. If you want to read the | ||
book, you should check it out there or [on the web][prod]. | ||
|
||
[src]: https://github.com/rust-lang/rust/tree/master/src/doc/book | ||
[prod]: https://doc.rust-lang.org/book/ | ||
|
||
## Requirements | ||
|
||
Building the book requires [mdBook]. To get it: | ||
|
||
[mdBook]: https://doc.rust-lang.org/book/ | ||
|
||
```bash | ||
$ cargo install mdbook | ||
``` | ||
|
||
## Building | ||
|
||
To build the book, type: | ||
|
||
```bash | ||
$ mdbook build | ||
``` | ||
|
||
The output will be in the `book` subdirectory. To check it out, open it in | ||
your web browser: | ||
|
||
```bash | ||
$ firefox book/index.html | ||
``` | ||
|
||
## Contributing | ||
|
||
I’m not going to be accepting major changes at first, but pull requests to fix | ||
typos and such are welcome. Please file any issues for discussion of larger | ||
changes. | ||
|
||
This repository is under the same license as Rust itself, MIT/Apache2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# The Rust Programming Language | ||
|
||
- [Hello, world!](hello-world.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Hello, world | ||
|
||
This will be a real book soon! |