Added remainder of the cookbook

This commit is contained in:
Misko Hevery
2011-02-03 15:21:34 -08:00
parent 0d4def68ae
commit 882f412d57
13 changed files with 180 additions and 74 deletions

View File

@@ -24,7 +24,8 @@ var writes = callback.chain(function(){
});
var metadata = ngdoc.metadata(docs);
writer.output('docs-keywords.js', ['NG_PAGES=', JSON.stringify(metadata).replace(/{/g, '\n{'), ';'], writes.waitFor());
writer.copyImages(writes.waitFor());
writer.copyDir('img', writes.waitFor());
writer.copyDir('static', writes.waitFor());
writer.copy('index.html', writes.waitFor());
writer.copy('docs.js', writes.waitFor());
writer.copy('docs.css', writes.waitFor());