如何构buildsails.js脱机文档?

我想在我的系统中使用离线sails.js文档。

sails.js文档保存在Sails.js文档链接中。

正如他们在那里提到的那样,他们使用doc-templater来构build文档。 我在节点REPL中尝试了下面的代码。

require('doc-templater')().build({ remote: 'git@github.com:balderdashy/sails.git', remoteSubPath: '', cachePath: '/code/sandbox/doctemplatertest/foo/bar/cache/', htmlDirPath: '/code/sandbox/doctemplatertest/foo/bar/html', jsMenuPath: '/code/sandbox/doctemplatertest/foo/bar.jsmenu' }, function (e,r) { if (e) {console.log('ERROR:\n',require('util').inspect(e, false, null));} else console.log('RESULT:\n',require('util').inspect(r, false, null)); });` 

但它不工作; 我得到这个结果:

 RESULT: [] undefined 

任何人都可以请显示它的工作方式。

看起来他们从来没有得到这个模块的工作: https : //github.com/balderdashy/sails-docs/issues/523#issuecomment-136823015

或者,您可以克隆文档网站的git回购: https : //github.com/balderdashy/www.sailsjs.org

和帆一起运行?