A CSS inline documentation-block parser.
npm install toga-cssNOTE: This project is under active development. APIs subject to change.
toga-css[![NPM version][npm-img]][npm-url] [![Downloads][downloads-img]][npm-url] [![Build Status][travis-img]][travis-url] [![Coverage Status][coveralls-img]][coveralls-url] [![Chat][gitter-img]][gitter-url] [![Tip][amazon-img]][amazon-url]
Generates a Toga abstract syntax tree for CSS files using Tunic.
$ npm install --save-dev toga-css
``js
var toga = require('toga'),
js = require('toga-js'),
md = require('toga-markdown'),
pura = require('toga-pura'),
config = {
src: './src/assets/*/.js',
dest: './web/docs'
};
toga
.src(config.src)
.pipe(js.parser())
.pipe(md.formatter())
.pipe(pura.compiler())
.pipe(toga.dest(config.dest));
``
[![Tasks][waffle-img]][waffle-url]
Standards for this project, including tests, code coverage, and semantics are enforced with a build tool. Pull requests must include passing tests with 100% code coverage and no linting errors.
$ npm test
----
© 2015 Shannon Moeller
Licensed under MIT
[amazon-img]: https://img.shields.io/badge/amazon-tip_jar-yellow.svg?style=flat-square
[amazon-url]: https://www.amazon.com/gp/registry/wishlist/1VQM9ID04YPC5?sort=universal-price
[coveralls-img]: http://img.shields.io/coveralls/togajs/toga-css/master.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/togajs/toga-css
[downloads-img]: http://img.shields.io/npm/dm/toga-css.svg?style=flat-square
[gitter-img]: http://img.shields.io/badge/gitter-join_chat-1dce73.svg?style=flat-square
[gitter-url]: https://gitter.im/togajs/toga
[npm-img]: http://img.shields.io/npm/v/toga-css.svg?style=flat-square
[npm-url]: https://npmcss.org/package/toga-css
[travis-img]: http://img.shields.io/travis/togajs/toga-css.svg?style=flat-square
[travis-url]: https://travis-ci.org/togajs/toga-css
[waffle-img]: http://img.shields.io/github/issues/togajs/toga-css.svg?style=flat-square
[waffle-url]: http://waffle.io/togajs/toga-css