gberger / gulp-markdox

:hamburger: markdox plugin for gulp
https://www.npmjs.org/package/gulp-markdox
MIT License
12 stars 7 forks source link

Parsing error with gulp.src('./src/js/**/*.*') #1

Open antoniobrandao opened 10 years ago

antoniobrandao commented 10 years ago

Hello,

Is this a parsing error ?

This:

/**
* Compile JavaScript source code documentation
*
* The docs will be available at:
*
* - `/docs/js` folder
*
* @see gulp/tasks/documentation.js
*/

gulp.task('docs_js', ['environmentCheck'], function () {
    gulp.src('./src/js/**/*.*')
    .pipe(markdox())
    .pipe(rename({
        extname: ".md"
    }))
    .pipe(gulp.dest('./docs/js'));
});

Compiles to this:

Compile JavaScript source code documentation

The docs will be available at:

- `/docs/js` folder

See: gulp/tasks/documentation.js

/*.*')
    .pipe(markdox())
    .pipe(rename({
        extname: ".md"
    }))
    .pipe(gulp.dest('./docs/js'));
});

Is this a problem with this: ?

gulp.src('./src/js/**/*.*')

If yes, is there any way to make it work ?

gberger commented 9 years ago

I think the glob string is conflicting...

Anyway, this project is only a Gulp wrapper. You should file the issue with markdox.

gberger commented 9 years ago

It's already filed there: https://github.com/cbou/markdox/issues/14