Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 576 Bytes

README.md

File metadata and controls

41 lines (33 loc) · 576 Bytes

Cssdoc

CSS styleguide generator

Installation

git clone git@github.com:r7kamura/cssdoc.git
cd cssdoc
bundle install
rake install

Usage

Write a document as comment for your css(scss, sass) in Github Flavored Markdown.

/*
  # .button
  basic button design

 ```
  <button class="button">
    button
  </button>

  <button class="button danger">
    danger
  </button>
 ```
*/
.button {
  ...
}

Launch cssdoc and open http://localhost:4567

cssdoc