0.3.0 • Published 9 years ago
spacedoc-sass v0.3.0
spacedoc-sass
SassDoc adapter for Spacedoc
Parses data from .scss files documented with SassDoc. For use with Spacedoc, a documentation generator.
npm install spacedoc-sassContents
Usage
spacedoc-sass requires a working Spacedoc setup. Add sass to your Spacedoc config like so:
Spacedoc.config({
adapters: ['sass']
});Or in spacedoc.yml in your project root:
adapters:
- sassIn pages that require Sass documentation, add sass to the list of docs in the page's Front Matter. The value of sass can be:
- A single file
- A glob of files
- An array with either of those things
---
title: Button
docs:
sass: scss/components/\_button.scss
---Support
spacedoc-sass supports all SassDoc types, which includes:
variablefunctionmixinplaceholder
The plugin supports these annotations:
@access@content@deprecated@example@output@parameter,@property@return@since@throw@todo@type
Other Adapters
spacedoc-js: JSDoc adapter
License
MIT © Geoff Kimball