Skip to content
This repository has been archived by the owner on Sep 15, 2020. It is now read-only.

Commit

Permalink
Document the font-face mixin @content directive
Browse files Browse the repository at this point in the history
SassDoc provides an annotation to do this directly, instead of describing its
purpose in the description.
  • Loading branch information
Tyson Gach committed Mar 24, 2016
1 parent 3978a06 commit d3104c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ We use [SassDoc] to document Bourbon. [Annotations] should be ordered:
- `@see`
- `@type`
- `@argument`
- `@content`
- `@property`
- `@return`
- `@example`
Expand Down
8 changes: 5 additions & 3 deletions core/bourbon/library/_font-face.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
/// formats you need to output; the mixin supports `eot`, `ttf`, `svg`, `woff2`
/// and `woff`. The mixin also supports usage with the Rails Asset Pipeline,
/// which you can enable per use, or globally in the `$bourbon()` settings.
/// Finally, any additional CSS properties that are included in the `@include`
/// directive will be output within the `@font-face` declaration, e.g. you can
/// pass in `font-weight`, `font-style` and/or `unicode-range`.
///
/// @argument {string} $font-family
///
Expand All @@ -20,6 +17,11 @@
/// Pass a list of file formats to support,
/// for example ("eot", "ttf", "svg", "woff2", woff").
///
/// @content
/// Any additional CSS properties that are included in the `@include`
/// directive will be output within the `@font-face` declaration, e.g. you can
/// pass in `font-weight`, `font-style` and/or `unicode-range`.
///
/// @example scss
/// @include font-face(
/// "source-sans-pro",
Expand Down

0 comments on commit d3104c6

Please sign in to comment.