konitter / gulp-styledocco Goto Github PK
View Code? Open in Web Editor NEWStyleDocco plugin for gulp.
License: MIT License
StyleDocco plugin for gulp.
License: MIT License
Looks like the last commit was in 2015. Is this project still maintained or should it be considered EOL?
I think this module is really useful and nice, but not maintained from Feb. this year.
If you are busy, I recommend to assign some collaborators.
I don't want to fork gulp-styledocco and no one wants it.
Because, in ecosystem of gulp, duplicated plugins got blacklisted for the official blacklist.
I only want to create the docs for specific files.
Just for testing I tried one file within vendor
.
gulp.task('styledocco', function () {
gulp.src(['./scss/vendor/_bootstrap.scss'])
.pipe(styledocco({
out: 'docs',
name: 'My-Project',
verbose: true
}));
});
Output is:
[gulp] Starting 'styledocco'...
[gulp] Finished 'styledocco' after 5.26 ms
[gulp] styledocco: writing /var/www/my-project/scss/vendor/__vendor.scss -> docs/_vendor.html
styledocco: writing /var/www/my-project/scss/vendor/_bootstrap.scss -> docs/bootstrap.html
styledocco: writing /var/www/my-project/scss/vendor/_foundation.scss -> docs/foundation.html
styledocco: writing /var/www/my-project/scss/vendor/index -> docs/index.html
So it is creating docs for all files in that folder.
Using styledocco directly this works:
styledocco scss/vendor/_bootstrap.scss
Any idea?
This breaks:
gulp.task('styledocco', function () {
gulp.src(['./scss/vendor/_bootstrap.scss'])
.pipe(styledocco({
out: 'docs',
name: 'My project',
verbose: true
}));
});
[gulp] Using gulpfile /var/www/my-project/gulpfile.js
[gulp] Starting 'styledocco'...
[gulp] Finished 'styledocco' after 5.73 ms
[gulp]
/usr/lib/node_modules/styledocco/cli.js:277
throw new SDError('Could not process files.', err);
^
Error: Could not process files.
ENOENT, stat 'project'
StyleDocco v0.6.6 running on Node v0.10.25 linux
Options: {"_":["project","/var/www/my-project/scss/vendor/"],"out":"docs","o":"docs","name":"My","n":"My","verbose":"true","minify":true,"$0":"node /usr/bin/styledocco","in":["project","/var/www/my-project/scss/vendor/"],"include":[null],"basePath":"/var/www/my-project/"}
events.js:72
throw er; // Unhandled 'error' event
^
Error: Command failed:
/usr/lib/node_modules/styledocco/cli.js:277
throw new SDError('Could not process files.', err);
^
Error: Could not process files.
ENOENT, stat 'project'
StyleDocco v0.6.6 running on Node v0.10.25 linux
Options: {"_":["project","/var/www/my-project/scss/vendor/"],"out":"docs","o":"docs","name":"My","n":"My","verbose":"true","minify":true,"$0":"node /usr/bin/styledocco","in":["project","/var/www/my-project/scss/vendor/"],"include":[null],"basePath":"/var/www/my-project/"}
at ChildProcess.exithandler (child_process.js:637:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
This works:
gulp.task('styledocco', function () {
gulp.src(['./scss/vendor/_bootstrap.scss'])
.pipe(styledocco({
out: 'docs',
name: 'My-project',
verbose: true
}));
});
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.