The blocks are automated onto the page. This task is to look into the theme views/_styleguide_sections/foundation directory, and pass it to the style guide so the Foundation section isn't using an array of file names. Then do the same for views/_styleguide_sections/components. This is done when any file in these directories has its example template displaying in these sections, and a readable file name is added to the styleguide nav with a same page link to each section.
[ ] Update the style guide so nothing is rendered based on arrays, but rather by what files are in the Foundation and Component directories described above.
Description
The blocks are automated onto the page. This task is to look into the theme
views/_styleguide_sections/foundation
directory, and pass it to the style guide so the Foundation section isn't using an array of file names. Then do the same forviews/_styleguide_sections/components
. This is done when any file in these directories has its example template displaying in these sections, and a readable file name is added to the styleguide nav with a same page link to each section.Existing code reference: Foundations in the nav
Foundation example blocks
Components in the nav
Component example blocks
Dev