Skip to content

Commit

Permalink
feat(): sort pages by URL
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejpeters committed Oct 29, 2015
1 parent 282151c commit 6e0dd5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dgeni-package/processors/page-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ module.exports = function pageDataProcessor() {
url: doc.path == 'index' ? '' : doc.path,
label: doc.label || doc.name
};
}).
value();
})
.sortBy('url')
.value();

docs.push({
module: 'docsApp.page-data',
Expand Down

0 comments on commit 6e0dd5b

Please sign in to comment.