Update readme
This commit is contained in:
parent
9a43f9ff8c
commit
259ecfb178
22
README.md
22
README.md
|
@ -12,14 +12,6 @@ To have an idea of what a rendered book looks like,take a look at the [**Documen
|
|||
|
||||
## Installation
|
||||
|
||||
Before building mdBook, make sure that you installed `stylus` and `nib` from `npm` because it is used to compile the stylesheets
|
||||
|
||||
Install [node.js](https://nodejs.org/en/)
|
||||
|
||||
```
|
||||
npm install -g stylus nib
|
||||
```
|
||||
|
||||
```
|
||||
git clone --depth=1 https://github.com/azerupi/mdBook.git
|
||||
cd mdBook
|
||||
|
@ -28,6 +20,20 @@ cargo build --release
|
|||
|
||||
The executable `mdbook` will be in the `./target/release` folder, this should be added to the path.
|
||||
|
||||
If you want to regenerate the css (stylesheet), make sure that you installed `stylus` and `nib` from `npm` because it is used to compile the stylesheets
|
||||
|
||||
Install [node.js](https://nodejs.org/en/)
|
||||
|
||||
```
|
||||
npm install -g stylus nib
|
||||
```
|
||||
|
||||
Then build with the `regenerate-css` feature:
|
||||
|
||||
```
|
||||
cargo build --release --features="regenerate-css"
|
||||
```
|
||||
|
||||
## Structure
|
||||
|
||||
There are two main parts of this project:
|
||||
|
|
Loading…
Reference in New Issue