0.1.4 • Published 6 years ago

ember-cli-sassdoc v0.1.4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

ember-cli-sassdoc

SassDoc for ember-cli applications. Provides ember sassdoc command and ember-cli middleware for serving compiled SassDoc assets.

Installation

ember install ember-cli-sassdoc

Usage

In order to generate documentation for you Sass files, run this command inside the project root directory:

ember sassdoc

You can then access the generated documentation at http://localhost:4200/sassdoc route.

If you want to change the name of this route, set the ENV.sassDocRoute property in your config/environment.js configuration file. Also, you can change the path to directory with SassDoc assets being served, using the ENV.sassDocDir property.

The list of supported options of the ember sassdoc command:

ember sassdoc <options...>
  Generate documentation for Sass files
  --source (String) (Default: ./app/styles)
    aliases: -src <value>
  --exclude (String) (Default: [])
    aliases: -e <value>
  --dest (String) (Default: ./sassdoc)
    aliases: -dst <value>
  --package (String) (Default: ./package.json)
    aliases: -pkg <value>
  --theme (String) (Default: default)
    aliases: -t <value>
  --autofill (String) (Default: ["requires", "throws", "content"])
    aliases: -af <value>
  --groups (String) (Default: {"undefined": "general"})
    aliases: -g <value>
  --verbose (Boolean) (Default: false)
    aliases: -v
  --config (String) (Default: .sassdocrc)
    aliases: -c <value>

You can also override default options with the SassDoc configuration file (--config or -c option used only for config name other than .sassdocrc).

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago