26 lines
253 B
Markdown
26 lines
253 B
Markdown
|
|
## Building the Solana book
|
||
|
|
|
||
|
|
Install mdbook:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
cargo install mdbook
|
||
|
|
```
|
||
|
|
|
||
|
|
Run any Rust tests in the markdown:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
mdbook test
|
||
|
|
```
|
||
|
|
|
||
|
|
Render markdown as HTML:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
mdbook build
|
||
|
|
```
|
||
|
|
|
||
|
|
Render and view the book:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
mdbook build --open
|
||
|
|
```
|