-
Notifications
You must be signed in to change notification settings - Fork 57
Description
I can't honestly tell if this is a technical bug or a documentation bugs as (to my mind at least) there is a little ambiguity around the matter...
Using the gulp task provided in the example as a base, I wrote a gulp task that will run sassdoc over my sass files(see below):
gulp.task('app:generate:docs:sass', function(){
return gulp.src('src/assets/src/styles/**/*.{css,scss}')
.pipe(sassDoc({
dest: './docs/sass',
exclude: ['_shame.scss']
}));
});However, my issue comes with lin 6 where I am attempting to exclude _shame.scss (see here for more info) as I don't particularly want/need the details of the ugly CSS hacks I have had to do included in my nice pretty SASS API documentation....however, I can't seem to find a way to do this...
I have tried the following values for this field:
- './_shame.scss'
- _'shame.scss'
- [ './_shame.scss']
- [ '_shame.scss']
- 'full/path/to/_shame.scss'
- './full/path/to/_shame.scss'
All of which seems to have no effect. Does the options.exclude field exclude css also or does it just prevent sass from being parsed/documented?
I see this feature was being discussed in #228 but it looked (from the thread at least) to have been resolved