Skip to content

options.exclude #453

@robertmain

Description

@robertmain

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:

  1. './_shame.scss'
  2. _'shame.scss'
  3. [ './_shame.scss']
  4. [ '_shame.scss']
  5. 'full/path/to/_shame.scss'
  6. './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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions