trulia / hologram

A markdown based documentation system for style guides.
http://trulia.github.io/hologram
Other
2.16k stars 200 forks source link

Configureable option for exiting on warnings #165

Closed bebepeng closed 9 years ago

bebepeng commented 10 years ago

We would like a configurable option for hologram to treat all warnings as errors (i.e. exiting), so that our hologram issues are more visible in our build process.

For example, some of the components in our styleguide only have parents, and no categories. If we misspell the parent name, the component won't appear in our styleguide. Hologram outputs a warning that the parent isn't found; However, sometimes these warnings get lost in our build process and we don't notice that the component is missing for a while.

Would you be open to a PR?

cc: @gpleiss

jdcantrell commented 9 years ago

Should be fixed in master :-)