diff --git a/doc-src/content/examples/compass/css3/font-face/stylesheet.sass b/doc-src/content/examples/compass/css3/font-face/stylesheet.sass index 4256a548..3f737dfd 100644 --- a/doc-src/content/examples/compass/css3/font-face/stylesheet.sass +++ b/doc-src/content/examples/compass/css3/font-face/stylesheet.sass @@ -1,6 +1,6 @@ @import compass/css3 -+font-face("Blooming Grove", font-files("examples/bgrove.ttf", truetype, "examples/bgrove.otf", opentype)) ++font-face("Blooming Grove", font-files("examples/bgrove.ttf", "examples/bgrove.otf")) .example font-family: "Blooming Grove" diff --git a/doc-src/content/reference/compass/helpers/font-files.haml b/doc-src/content/reference/compass/helpers/font-files.haml index d055c900..be951708 100644 --- a/doc-src/content/reference/compass/helpers/font-files.haml +++ b/doc-src/content/reference/compass/helpers/font-files.haml @@ -16,13 +16,10 @@ documented_functions: #font-files.helper %h3 %a(href="#font-files") - font-files([$font, $format]*) + font-files([$font]*) .details %p - The font-files function takes any even number of arguments. - For each pair of arguments, the first is the path to the font file - relative to your project's font directory and the second is the format of - that font. + The font-files function takes a list of arguments containing the path to each font files relative to your project's font directory. %p This helper is used with the font-face mixin and is what makes it possible to pass any number of font files.