rustbook

A simplified version of gitbook, atop rustdoc.

Warning: this is an early work in progress, providing the minimum functionality needed to build the Rust guidelines.

Acquiring and building

git clone https://github.com/aturon/rust-book.git cd rust-book cargo build

Usage

Like gitbook, the rustbook tool builds a book from a number of separate markdown files. The contents of the book are determined by a SUMMARY.md file like:

```markdown

Summary

The setup is intended to make it easy to browse a book directly on GitHub:

To build a book, run rustbook build in the book's root directory, which should contain a SUMMARY.md and README.md as just described. Currently, the output is always placed in a _book subdirectory, following gitbook defaults.