Fix #717. Update index.json format

This commit is contained in:
Igor Shubovych
2016-01-24 10:54:27 +02:00
parent a72d5a28fc
commit 15adee9228

View File

@@ -37,7 +37,10 @@ function buildPagesIndex(shortIndex) {
}
function saveIndex(index) {
console.log(JSON.stringify(index));
var indexFile = {
commands: index
};
console.log(JSON.stringify(indexFile));
}
glob("pages/**/*.md", function (er, files) {