Skip to content

Commit

Permalink
chore: Remove "Cozy-ui Documentation" section from screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Feb 8, 2024
1 parent 4f1ffe7 commit 85af299
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/screenshots/fetchAllComponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ const fetchAllComponents = async (page, args, config) => {
return Array.from(document.querySelectorAll(`${sidebarSelector} a`))
.filter(v => !v.href.includes('?id='))
.map(x => x.text)
.filter(x => x !== 'Cozy-ui documentation') // see section's name in styleguide.config.js
})

const sortedCategoriesNames = sortBy(
categoriesName.map(catName => ({
link: styleguideIndexURL + '#/' + catName,
Expand Down

0 comments on commit 85af299

Please sign in to comment.