mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 21:19:35 +00:00
Insert intro article to each group
This commit is contained in:
@@ -35,7 +35,10 @@ exports.readSummary = function (path) {
|
||||
item.collapsible = true;
|
||||
|
||||
} else if (level == 1) {
|
||||
if (!item.children) item.children = [];
|
||||
if (!item.children) {
|
||||
item.children = [];
|
||||
if (item.path) item.children.push(item.path);
|
||||
}
|
||||
item.children.push(path);
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user