From 2893cf73dd5d52273ef954262a74fc40e60b65a5 Mon Sep 17 00:00:00 2001 From: Mark Tyers Date: Fri, 23 Jun 2017 15:49:38 +0100 Subject: [PATCH] updated command to generate documentation --- 04 Writing Robust Code.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/04 Writing Robust Code.md b/04 Writing Robust Code.md index 10c0e36..aca6508 100644 --- a/04 Writing Robust Code.md +++ b/04 Writing Robust Code.md @@ -434,9 +434,9 @@ You should also add standard JavaScript comments to explain the code itself. The JSDoc is available as a NodeJS plugin. It has already been added as a _Dev Dependency_ in the `package.json` file and so it should already be installed. Lets use it to build the documentation for our modules. ``` -node_modules/.bin/jsdoc modules/ +ode_modules/.bin/jsdoc -d docs/jsdoc/ modules/ ``` -This will create an `out/` directory containing the complete documentation as a website. +This will create a `docs/jsdoc/` directory containing the complete documentation as a website. ``` . ├── fonts