Fix #717. Update index.json format

waldyrious/alt-syntax
Igor Shubovych 2016-01-24 10:54:27 +02:00
parent a72d5a28fc
commit 15adee9228
1 changed files with 4 additions and 1 deletions

View File

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