Skip to content

Commit

Permalink
[Docs] Update the docs for the text module
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed May 2, 2010
1 parent 2754f2d commit e13026b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion doc-src/content/reference/compass/utilities/text.haml
Expand Up @@ -13,4 +13,4 @@ classnames:
---
- render 'reference' do
%p
Lorem ipsum dolor sit amet.
Utilities for managing text.
10 changes: 7 additions & 3 deletions 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
7 changes: 4 additions & 3 deletions 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
Expand All @@ -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.
@@ -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'
@@ -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; }

0 comments on commit e13026b

Please sign in to comment.