fix(docs): don't filter out api index page

This commit is contained in:
Tim Lancina
2015-10-09 20:47:15 -05:00
parent 551d1998f3
commit 5f283cc045

View File

@ -9,7 +9,7 @@ module.exports = function jekyll(renderDocsProcessor) {
// pretty up and sort the docs object for menu generation
docs = docs.filter(function(doc) {
return !!doc.name && !!doc.outputPath;
return (!!doc.name && !!doc.outputPath) || doc.docType === 'index-page';
});
docs.sort(function(a, b) {
textA = a.name ? a.name.toUpperCase() : '';