kss icon indicating copy to clipboard operation
kss copied to clipboard

A step-by-step guide on setting up KSS documentation for your project

Open rstacruz opened this issue 12 years ago • 15 comments

A guide to set up KSS-powered style guide documentation in a {Rails,Sinatra,plain HTML} project would be nice.

rstacruz avatar Dec 07 '11 02:12 rstacruz

Agreed! I would love to see this as well!

sayanee avatar Dec 07 '11 13:12 sayanee

Definitely. I'd love more explanations all over. Hopefully I'll have time in the next weekish to put together a website that focuses on the spec + getting started.

kneath avatar Dec 07 '11 17:12 kneath

I'd absolutely love this! I'm not a back-end programmer really, so something to walk me through would be great. I only really do HTML/CSS/JS and very rarely dabble in PHP.

MattWilcox avatar Dec 07 '11 18:12 MattWilcox

I eco this suggestion. I'm very excited of being able to auto document SASS with this gem, but haven't been able to get started as the instructions are not clear on how to install and use.

adrifolio avatar Jan 21 '12 20:01 adrifolio

+1

Can't wait to see some explanations, then start using.

ggamel avatar Jan 27 '12 17:01 ggamel

Anyone willing to do a quick and dirty explanation on how to get this up and going at least? Would love this.

ryanmclaughlin avatar Feb 17 '12 23:02 ryanmclaughlin

Agreed. I would love to use this but I can't seem to figure out how to get started with it.

DevinClark avatar Mar 17 '12 23:03 DevinClark

I was able to get a node.js port of this to work, here: https://github.com/jesseditson/jss

ryanmclaughlin avatar Mar 18 '12 06:03 ryanmclaughlin

A step-by-step guide would certainly help, what i'm unsure of at the moment is if KSS generates everything from the SASS/CSS comments itself or do we have to create example markup for the styleguide?

I'm guessing its the latter from running the example app, which wasn't exactly what I was expecting.

Phunky avatar Jun 20 '12 09:06 Phunky

:+1:

calebhearth avatar Jun 20 '12 14:06 calebhearth

@Phunky Agreed, second this request. I thought the styleguide was actually generated completely. I don't really see any reason that it can't be.

normally-andrew avatar Jun 22 '12 22:06 normally-andrew

Any chance of this happening now that 0.4.0 is out?

calebhearth avatar Aug 02 '12 20:08 calebhearth

I'd still like to make it much better. If someone feels like taking a stab at it on the gh-pages branch http://warpspire.com/kss that'd be rad. I have this right now, but I got kind of frustrated at how ruby-dependent it is right now (lack of a binary tool) when I tried to explain it.

kneath avatar Aug 02 '12 22:08 kneath

+1 to getting this going.

I don't know squat about ruby. I can't even get the example app running on my local machine. It tells me Sinatra doesn't know this ditty.

Currently it sounds like we need to manually create additional views/code to render the style guide, along with the properly formatted less/css comments, is that right? It might be cool if we could have the parser/styleguide generator just grab existing views that correspond to css modules so we don't have to repeat ourselves (unless I don't understand how kss works, which I probably don't).

Thank you for starting this project however. I'm excited to see where this goes.

tranzfuse avatar Sep 20 '12 21:09 tranzfuse

For those who still haven't got it running, this helped me: http://mikefowler.me/2013/10/14/static-styleguides-kss-node/ (If you're also new to Grunt, check out http://24ways.org/2013/grunt-is-not-weird-and-hard/ to get that set up)

Is there any word on what's happening with automatic markup generation? Right now I specify the markup in styleguide.md. Maybe I'm just not configuring this correctly?

This is what my Gruntfile.js looks like:

// Autogenerating styleguide
styleguide: {
    options: {
        framework: {
            name: 'kss'
        }
    },
    all: {
        files: [{
            'docs/css': 'css/app.less'
        }]
    },

},

How can I improve this workflow?

t1mmen avatar Jan 20 '14 21:01 t1mmen