mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-12-24 20:49:23 +00:00
Boog900
519d871ccb
* add protocol bool * update url * fix typos * Cuprate's protocol book -> Monero * Apply suggestions from code review Co-authored-by: hinto-janai <hinto.janai@protonmail.com> * fix typo * POW -> PoW * revert weird line changes --------- Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
37 lines
952 B
Markdown
37 lines
952 B
Markdown
## Books
|
|
|
|
This directory contains the source files for Cuprate's various books.
|
|
|
|
The source files are edited here, and published in other repositories, see:
|
|
|
|
- [Cuprate's architecture book](https://github.com/Cuprate/architecture-book)
|
|
- [Monero's protocol book](https://github.com/Cuprate/monero-book)
|
|
- [Cuprate's user book](https://github.com/Cuprate/user-book)
|
|
|
|
## Build tools
|
|
|
|
Building the book(s) requires [Rust's cargo tool](https://doc.rust-lang.org/cargo/getting-started/installation.html)
|
|
and [mdBook](https://github.com/rust-lang/mdBook).
|
|
|
|
After installing `cargo`, install `mdbook` with:
|
|
|
|
```bash
|
|
cargo install mdbook
|
|
```
|
|
|
|
## Building
|
|
|
|
To build a book, go into a book's directory and build:
|
|
|
|
```bash
|
|
# This build Cuprate's user book.
|
|
cd user/
|
|
mdbook build
|
|
```
|
|
|
|
The output will be in the `book` subdirectory (`user/book` for the above example). To open the book, you can open it in
|
|
your web browser like so:
|
|
|
|
```bash
|
|
mdbook build --open
|
|
```
|