From 2518d5c8277771ba62b8f4293aa347c2c34bbc06 Mon Sep 17 00:00:00 2001 From: Mathieu David Date: Sat, 20 May 2017 19:43:32 +0200 Subject: [PATCH] Fix error in contribution guide --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 015ff53d..bcafd746 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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. 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: