Skip to content

Commit 12cb5f4

Browse files
authored
Tweak sections configuration (#2)
1 parent a8d18e0 commit 12cb5f4

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

styleguide.config.js

+11-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,17 @@ const config = {
7676
.basename(folder)
7777
.replace(/^(\d+)-/, '$1. ')
7878
.replace(/_/g, ' '),
79-
content: `${folder}/Readme.md`,
80-
components: `${folder}/*.js`,
79+
sectionDepth: 1,
80+
sections: [
81+
{
82+
name: 'Task',
83+
content: `${folder}/Readme.md`,
84+
},
85+
{
86+
name: 'Exercises',
87+
components: `${folder}/*.js`,
88+
},
89+
],
8190
})),
8291
};
8392

0 commit comments

Comments
 (0)