Skip to content

Commit 3291f23

Browse files
Merge pull request #423 from reactioncommerce/fix-multiple-pages
fix styleguidist configuration so that everything gets its own page
2 parents 504a16c + c48f8e5 commit 3291f23

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

styleguide.config.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,8 @@ module.exports = {
382382
name: "Developing Locally Inside Another Project",
383383
content: "styleguide/src/sections/LocalDevelopment.md"
384384
}
385-
]
385+
],
386+
sectionDepth: 2
386387
},
387388
{
388389
name: "Style",
@@ -395,7 +396,8 @@ module.exports = {
395396
name: "Typography",
396397
content: "styleguide/src/sections/Typography.md"
397398
}
398-
]
399+
],
400+
sectionDepth: 2
399401
},
400402
{
401403
name: "Base Components",
@@ -444,7 +446,8 @@ module.exports = {
444446
content: "styleguide/src/sections/Menus.md",
445447
name: "Menus"
446448
})
447-
]
449+
],
450+
sectionDepth: 2
448451
},
449452
{
450453
name: "Storefront Components",
@@ -522,7 +525,8 @@ module.exports = {
522525
content: "styleguide/src/sections/Product.md",
523526
name: "Product"
524527
})
525-
]
528+
],
529+
sectionDepth: 2
526530
}
527531
],
528532
require: ["@babel/polyfill", path.join(__dirname, "styleguide/src/styles.css")],

0 commit comments

Comments
 (0)