diff --git a/Cakefile b/Cakefile index 85ed42ea..48daf79e 100644 --- a/Cakefile +++ b/Cakefile @@ -155,12 +155,12 @@ task 'doc:site', 'watch and continually rebuild the documentation for the websit task 'doc:source', 'rebuild the internal documentation', -> - exec 'docco src/*.*coffee && cp -rf docs documentation && rm -r docs', (err) -> + exec 'node_modules/.bin/docco src/*.*coffee && cp -rf docs documentation && rm -r docs', (err) -> throw err if err task 'doc:underscore', 'rebuild the Underscore.coffee documentation page', -> - exec 'docco examples/underscore.coffee && cp -rf docs documentation && rm -r docs', (err) -> + exec 'node_modules/.bin/docco examples/underscore.coffee && cp -rf docs documentation && rm -r docs', (err) -> throw err if err task 'bench', 'quick benchmark of compilation time', -> diff --git a/package.json b/package.json index 7551b80e..3d181cb1 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,8 @@ "uglify-js": "~2.2", "jison": ">=0.2.0", "highlight.js": "~8.0.0", - "underscore": "~1.5.2" + "underscore": "~1.5.2", + "docco": "0.6.x" }, "dependencies": { "mkdirp": "~0.3.5"