Giter VIP home page Giter VIP logo

gulp-kss's People

Contributors

davidtheclark avatar monokrome avatar philj avatar sublimino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gulp-kss's Issues

Custom handlebar helpers.

Can you add an option specify a file or something to include custom handlebar helpers, or tell me how I can do that currently without having to edit the index.js file to require them.

Error: ENOENT, no such file or directory

I am facing following error when running gulp-kss. its working perfectly in node-kss

Console Error

fs.js:427
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^
Error: ENOENT, no such file or directory '/root/node_modules/gulp-kss/node_modules/kss/lib/template/index.html'

gulp configuration file

gulp.task('styleguide', function(){
  return gulp.src([path.styles.src])
      .pipe($.kss({
          overview: 'app/assets/src/stylesheets/styleguide.md'
      }))
      .pipe(gulp.dest('styleguide/'));
});

No license provided

@PhilJ This repository does not provide a license, We can't safely fork it without knowing if we have the right to do so. Would it be possible to consider adding a license file so that we are aware of what rights we do and do not have when using this software? Thanks!

As a side note, there are a lot of PRs. Do you plan on maintaining this any more?

Gulp seems not to finish task

The plugin seems to be working correctly; i.e. the styleguide is generated, but gulp does not seem to report that the task has completed. Here's my taskdef:

gulp.task('styleguide-main',function(){
    return gulp.src([paths.metaRoot + 'www/css2015/**/*.less'])
        .pipe(plugins.kss({
            overview:           paths.metaRoot + 'www/css2015/styleguide.md',
            templateDirectory:  paths.metaRoot + 'www/css2015/styleguide-template/'
        }))
        .pipe(gulp.dest(paths.staticOut + 'styleguide/'));
});

and when I run it on the commandline I only get:

nvioli-4:node nvioli$ gulp styleguide-main
[16:46:32] Using gulpfile ~/git/node/gulpfile.js
[16:46:32] Starting 'styleguide-main'...
nvioli-4:node nvioli$

All other tasks report "Finished".

Please let me know if I can provide any more information.

Custom templates missing handlebars helpers

Was having trouble getting up and running with a custom templates. Looks like some handlebars-related issues were resolved in kss-node in the next version up. (v0.4.0) Might be worth a bump

Plans about this plugin

Hi @PhilJ - right now gulp-kss cannot be used as it is not possible to install. There is a lot of outstanding pull requests. Do you have plans on giving it an overhaul at some point?

How do you update the style-guide template?

Thanks for creating this package!

I'd like to update the template the style guide is generated from. I'm moving from grunt to gulp and used to do the following (which may not have been the most efficient the first place)...

  1. Generated the site template in /styleguide-template after installing the node version of KSS
$ kss-node --init 
  1. Update the Grunt Task to use this new folder as a source.
  grunt.initConfig({

  styleguide: {

    options: {
      template: {
        src: 'styleguide-template'
      },

      framework: {
        name: 'kss'
      }
    },

    all: {
      files: [{
        'styleguide': 'sass/**/*.scss'
      }]
    }

  },

Could you tell what the gulp equivalent of "template: {src: 'styleguide-template} would be?

Do not generate docs

Hello,

I use this code (bellow) in my gulpfile.

var kss = require('gulp-kss');

gulp.task('kss', function() {
    gulp.src(config.sass.src)
        .pipe(kss({
            overview: __dirname + '/sass/styleguide.md'
        }))
        .pipe(gulp.dest('styleguide/'));
});

config.sass.src variable contains './src/sass/**/*.scss'

And this will generate me only styleguide/public/ and files as on the picture.
screenshot_1

What I do wrong? I want to have a docs! ๐Ÿ˜ธ

SCSS

Does this supports SASS CSS?

Is there something specific that needs to go in the markdown document?

I don't see any documentation from this from kss, kss-node, or gulp-kss.

Currently, I see the styleguide, but my comments don't find my way into it. I assume I need to declare something in my markdown that says "styleguide" and the version so it will trigger the right comments?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.