pattern-lab / patternlab-php-core

This repository provides the core functionality for Pattern Lab. It is meant to be used from within an Edition with a PatternEngine and StarterKit.
http://patternlab.io/
MIT License
43 stars 62 forks source link

Show more tabs in pattern info area to document JS/JSX/SCSS files #95

Open sbuckpesch opened 8 years ago

sbuckpesch commented 8 years ago

We started documenting our ReactJS components using patternlab. So for each component I have more than just .md, .json and .mustache files.

image

So it would be really nice to have more public information in our styleguide without having my developers to checkout the styleguide git repo to see details about the React components, SCSS-files, ...

image

To enable this feature you could extend the config.yml file. Like the attributes ie and id you could have one called fileinfo containing a list of file extensions, which will exposed then 1:1 to a pattern info tab.