mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
fix(docs): don't filter out api index page
This commit is contained in:
@ -9,7 +9,7 @@ module.exports = function jekyll(renderDocsProcessor) {
|
|||||||
|
|
||||||
// pretty up and sort the docs object for menu generation
|
// pretty up and sort the docs object for menu generation
|
||||||
docs = docs.filter(function(doc) {
|
docs = docs.filter(function(doc) {
|
||||||
return !!doc.name && !!doc.outputPath;
|
return (!!doc.name && !!doc.outputPath) || doc.docType === 'index-page';
|
||||||
});
|
});
|
||||||
docs.sort(function(a, b) {
|
docs.sort(function(a, b) {
|
||||||
textA = a.name ? a.name.toUpperCase() : '';
|
textA = a.name ? a.name.toUpperCase() : '';
|
||||||
|
Reference in New Issue
Block a user