Permalink
Browse files

Document the font-face mixin @content directive

SassDoc provides an annotation to do this directly, instead of describing its
purpose in the description.
  • Loading branch information...
1 parent 3978a06 commit d3104c6f55099154279bb1a1fec21783dfb6693f @tysongach tysongach committed Mar 18, 2016
Showing with 6 additions and 3 deletions.
  1. +1 −0 CONTRIBUTING.md
  2. +5 −3 core/bourbon/library/_font-face.scss
View
@@ -49,6 +49,7 @@ We use [SassDoc] to document Bourbon. [Annotations] should be ordered:
- `@see`
- `@type`
- `@argument`
+- `@content`
- `@property`
- `@return`
- `@example`
@@ -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
///
@@ -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",

0 comments on commit d3104c6

Please sign in to comment.