From e13026b8a04de785d1272be8f32eb08b35c84481 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 1 May 2010 23:54:30 -0700 Subject: [PATCH] [Docs] Update the docs for the text module --- doc-src/content/reference/compass/utilities/text.haml | 2 +- .../reference/compass/utilities/text/ellipsis.haml | 10 +++++++--- .../reference/compass/utilities/text/nowrap.haml | 7 ++++--- .../reference/compass/utilities/text/replacement.haml | 9 ++++----- .../stylesheets/compass/utilities/text/_nowrap.scss | 3 +-- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/doc-src/content/reference/compass/utilities/text.haml b/doc-src/content/reference/compass/utilities/text.haml index 74e0cf12..70c7f01c 100644 --- a/doc-src/content/reference/compass/utilities/text.haml +++ b/doc-src/content/reference/compass/utilities/text.haml @@ -13,4 +13,4 @@ classnames: --- - render 'reference' do %p - Lorem ipsum dolor sit amet. + Utilities for managing text. diff --git a/doc-src/content/reference/compass/utilities/text/ellipsis.haml b/doc-src/content/reference/compass/utilities/text/ellipsis.haml index eecf5805..5d6f1d15 100644 --- a/doc-src/content/reference/compass/utilities/text/ellipsis.haml +++ b/doc-src/content/reference/compass/utilities/text/ellipsis.haml @@ -1,15 +1,19 @@ --- -title: Compass Ellipsis +title: Truncating Text with Ellipses crumb: Ellipsis framework: compass stylesheet: compass/utilities/text/_ellipsis.scss layout: core nav_stylesheet: compass/_utilities.scss +meta_description: Text truncation with ellipsis. classnames: - reference - core - utilities --- - render 'reference' do - %p - Lorem ipsum dolor sit amet. + :markdown + There is an XML file that must be installed into your stylesheet + directory in order for this utility to work correctly. To install it: + + compass install compass/ellipsis diff --git a/doc-src/content/reference/compass/utilities/text/nowrap.haml b/doc-src/content/reference/compass/utilities/text/nowrap.haml index 0d084896..3bd97b19 100644 --- a/doc-src/content/reference/compass/utilities/text/nowrap.haml +++ b/doc-src/content/reference/compass/utilities/text/nowrap.haml @@ -1,9 +1,10 @@ --- -title: Compass Nowrap -crumb: Nowrap +title: Compass No Wrap +crumb: No Wrap framework: compass stylesheet: compass/utilities/text/_nowrap.scss layout: core +meta_description: Remembering whether or not there's a hyphen in white-space is too hard. nav_stylesheet: compass/_utilities.scss classnames: - reference @@ -12,4 +13,4 @@ classnames: --- - render 'reference' do %p - Lorem ipsum dolor sit amet. + Remembering whether or not there's a hyphen in white-space is too hard. diff --git a/doc-src/content/reference/compass/utilities/text/replacement.haml b/doc-src/content/reference/compass/utilities/text/replacement.haml index 2f58a32c..676874b4 100644 --- a/doc-src/content/reference/compass/utilities/text/replacement.haml +++ b/doc-src/content/reference/compass/utilities/text/replacement.haml @@ -1,15 +1,14 @@ --- -title: Compass Replacement -crumb: Replacement +title: Compass Text Replacement +crumb: Text Replacement framework: compass stylesheet: compass/utilities/text/_replacement.scss layout: core +meta_description: Replace text with images. nav_stylesheet: compass/_utilities.scss classnames: - reference - core - utilities --- -- render 'reference' do - %p - Lorem ipsum dolor sit amet. += render 'reference' \ No newline at end of file diff --git a/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.scss b/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.scss index 110858df..1613dd67 100644 --- a/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.scss +++ b/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.scss @@ -1,3 +1,2 @@ // When remembering whether or not there's a hyphen in white-space is too hard -@mixin nowrap { - white-space: nowrap; } +@mixin nowrap { white-space: nowrap; }