Skip to content

Commit 226034d

Browse files
committed
include user-defined sorting via config from documentationjs/documentation#130
Please see documentationjs/documentation#100 and documentationjs/documentation#130 for more information.
1 parent 8311e23 commit 226034d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tasks/documentation.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ module.exports = function(grunt) {
1717
var options = this.options({
1818
format: 'html',
1919
shallow: false,
20-
github: false
20+
github: false,
21+
order: []
2122
});
2223

2324
var formatter = documentation.formats[options.format];
@@ -27,7 +28,8 @@ module.exports = function(grunt) {
2728

2829
var docOptions = {
2930
github: options.github,
30-
shallow: options.shallow
31+
shallow: options.shallow,
32+
order: options.order
3133
};
3234

3335
var done = this.async(),

0 commit comments

Comments
 (0)