Closed matt-diehl closed 9 years ago
Once grouping is implemented, it would be great if one of those could be reserved for hidden templates.
Leaving out grouping as a default for now since it can be handled with the addition of a line of YAML and customization of the templates. I did add a test for the line "exclude: true" and will hide the template from the pattern library if it's used.
YAPL will also need to loop over the html templates, getting the link to that file as well as any notes associated with it. Templates may also need to have groupings/categories associated with them - should we let folder structure determine this?
Once this component is added, we may want to look into adding a task that searches for the various modules within each template. With that feature, we could reference what templates individual modules appear on, as well as the reverse - list what modules display on each template.
To implement the latter aspect, it would probably be worth looking at http://cheeriojs.github.io/cheerio/