Skip to content

Commit 85af299

Browse files
committed
chore: Remove "Cozy-ui Documentation" section from screenshots
1 parent 4f1ffe7 commit 85af299

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/screenshots/fetchAllComponents.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ const fetchAllComponents = async (page, args, config) => {
4141
return Array.from(document.querySelectorAll(`${sidebarSelector} a`))
4242
.filter(v => !v.href.includes('?id='))
4343
.map(x => x.text)
44+
.filter(x => x !== 'Cozy-ui documentation') // see section's name in styleguide.config.js
4445
})
46+
4547
const sortedCategoriesNames = sortBy(
4648
categoriesName.map(catName => ({
4749
link: styleguideIndexURL + '#/' + catName,

0 commit comments

Comments
 (0)