trulia / hologram

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

Ignore specific file types #231

Closed jaylaw81 closed 9 years ago

jaylaw81 commented 9 years ago

Is it possible to ignore specific file types? For instance, my project uses compass to output CSS files that contain style documentation, however I want to ignore all .scss files so i can parse JS / JSX files in the same source directory. Otherwise I get errors saying I have duplicate title / category names for an element.

iammikecohen commented 9 years ago

You sure can! I asked for this feature a while back for the same reason. In your config.yml use the ignore_paths setting:

ignore_paths:
  - "*.scss"