Fix error in contribution guide

This commit is contained in:
Mathieu David 2017-05-20 19:43:32 +02:00
parent 3f98d69690
commit 2518d5c827
1 changed files with 2 additions and 2 deletions

View File

@ -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: