From 15adee9228fb6861a0a4aa9a607d35dddba3cc63 Mon Sep 17 00:00:00 2001 From: Igor Shubovych Date: Sun, 24 Jan 2016 10:54:27 +0200 Subject: [PATCH] Fix #717. Update index.json format --- scripts/build-index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/build-index.js b/scripts/build-index.js index 1a890ff01d..5c3992ba4b 100644 --- a/scripts/build-index.js +++ b/scripts/build-index.js @@ -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) {