Fix error in contribution guide
This commit is contained in:
parent
3f98d69690
commit
2518d5c827
|
@ -58,10 +58,10 @@ the CSS files will be overwritten when compiling the stylus files. Instead, you
|
||||||
[stylus files](https://github.com/azerupi/mdBook/tree/master/src/theme/stylus) and regenerate the CSS.
|
[stylus files](https://github.com/azerupi/mdBook/tree/master/src/theme/stylus) and regenerate the CSS.
|
||||||
|
|
||||||
For this to work, you first need [Node and NPM](https://nodejs.org/en/) installed on your machine.
|
For this to work, you first need [Node and NPM](https://nodejs.org/en/) installed on your machine.
|
||||||
Then run the following inside of the mdBook directory:
|
Then run the following command to install both [stylus](http://stylus-lang.com/) and [nib](https://tj.github.io/nib/), you might need `sudo` to install successfully.
|
||||||
|
|
||||||
```
|
```
|
||||||
npm install
|
npm install -g stylus nib
|
||||||
```
|
```
|
||||||
|
|
||||||
When that finished, you can simply regenerate the CSS files by building mdBook with the following command:
|
When that finished, you can simply regenerate the CSS files by building mdBook with the following command:
|
||||||
|
|
Loading…
Reference in New Issue