styledocco
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -9,3 +9,3 @@ { | ||
"author": "Jacob Rask <jacob@jacobrask.net>", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"homepage": "http://jacobrask.github.com/styledocco/", | ||
@@ -12,0 +12,0 @@ "licenses": [ |
@@ -1,6 +0,8 @@ | ||
<pre><samp> _______ __ __ _____ | ||
``` | ||
_______ __ __ _____ | ||
| __| |_.--.--| |-----.| \-----.----.----.-----. | ||
|__ | _| | | | -__|| -- | _ | __| __| _ | | ||
|_______|____|___ |__|_____||_____/_____|____|____|_____| | ||
|_____|</samp></pre> | ||
|_____| | ||
``` | ||
@@ -24,3 +26,3 @@ StyleDocco generates documentation and style guide documents from your stylesheets. | ||
or clone the [GitHub repository](https://github.com/jacobrask/styledocco). | ||
or check out this repository. | ||
@@ -59,30 +61,18 @@ StyleDocco is free software, released under the [MIT license](https://raw.github.com/jacobrask/styledocco/master/LICENSE). | ||
### Stylesheet | ||
<pre><code>/* | ||
<button class="btn primary">Primary</button> | ||
Provides extra visual weight and identifies the primary action in a set of buttons. */ | ||
.btn.primary { | ||
background: steelblue; | ||
color: snow; | ||
border: 1px solid steelblue; | ||
}</code></pre> | ||
/* | ||
<button class="btn primary">Primary</button> | ||
<!-- Special case for this readme example only --><style> | ||
.btn.primary { background: steelblue; color: snow; border: 2px outset steelblue; }</style> | ||
Provides extra visual weight and identifies the primary action in a set of buttons. */ | ||
.btn.primary { | ||
background: blue; | ||
color: white; | ||
} | ||
### Output | ||
Would display the description, a button as well as the example HTML code. The CSS will be included in the `style` element of the document. | ||
Provides extra visual weight and identifies the primary action in a set of buttons. | ||
See the `examples` folder for more in-depth examples. | ||
<button class="btn primary">Primary</button> | ||
This page is an example itself, as it was generated from the StyleDocco readme file. The [docs](resources/docs.html) file is the documentation of the default StyleDocco CSS file. | ||
An additional example was generated from a modified file of the [Twitter Bootstrap](examples/bootstrap/docs/less/buttons.html) project. | ||
## Acknowledgements | ||
A lot of the heavy lifting in StyleDocco is done by the excellent [Marked](https://github.com/chjj/marked) module by Christopher Jeffrey. The original [Docco](https://github.com/jashkenas/docco) by Jeremy Ashkenas and [Docco Husky](https://github.com/mbrevoort/docco-husky) by Mike Brevoort were also of great help to this project. [Knyle Style Sheets](https://github.com/kneath/kss) is a similar project written in Ruby, and has also been an inspiration to StyleDocco. | ||
<a href="https://github.com/jacobrask/styledocco" id="styledocco-fork-me"><img style="position:fixed;top:0;right:0;border:0;" src="https://a248.e.akamai.net/assets.github.com/img/7afbc8b248c68eb468279e8c17986ad46549fb71/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub"></a> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
345079
51
1563
77