Merge branch 'master' into sidebar-ordering

This commit is contained in:
Frank Li 2017-07-25 16:34:57 -07:00 committed by GitHub
commit f3cb4d1860
8 changed files with 727 additions and 139 deletions

View file

@ -90,15 +90,7 @@ function readCategories(sidebar) {
allCategories[language] = categories;
}
fs.writeFileSync(
__dirname + "/../core/" + sidebar + "Categories.js",
"/**\n" +
" * @generated\n" +
" */\n" +
"module.exports = " +
JSON.stringify(allCategories, null, 2) +
";"
);
return allCategories;
}
module.exports = readCategories;