cloudfour / drizzle

A streamlined tool for developing, documenting and presenting UI pattern libraries.
https://cloudfour.com/thinks/introducing-drizzle/
MIT License
666 stars 32 forks source link

Unable to put new folders into pattern folder #82

Open jacobtyq opened 8 years ago

jacobtyq commented 8 years ago

There seems to be no way of adding a new folder or using other folder names aside from 'Components' and 'Elements'. I tried changing the folder names to 'Atoms', 'Modules', 'Organsims', re-run gulp --dev but sidebar still shows 'Components' and 'Elements' at the side.

tylersticka commented 8 years ago

@jacobtyq At the moment, you have to manually add new collections to the src/templates/drizzle/nav.hbs file. See examples here: https://github.com/cloudfour/drizzle/blob/master/src/templates/drizzle/nav.hbs#L31-L45

More info about the helpers in use there: https://github.com/cloudfour/drizzle/tree/master/docs#helpers

If you already updated that file and it still isn't working, then that sounds like a bug. 🐛