diff --git a/scripts/screenshots/fetchAllComponents.js b/scripts/screenshots/fetchAllComponents.js index 0ff3eea61e..bd2c7b1696 100644 --- a/scripts/screenshots/fetchAllComponents.js +++ b/scripts/screenshots/fetchAllComponents.js @@ -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,