Fill out some of the intro for the top level of the compass modules.
This commit is contained in:
parent
0c298fe48d
commit
402a009e4d
@ -9,4 +9,16 @@ meta_description: The Compass Core Framework.
|
||||
---
|
||||
- render 'reference' do
|
||||
%p
|
||||
Lorem ipsum dolor sit amet.
|
||||
The compass core framework is a design-agnostic framework that
|
||||
provides common code that would otherwise be duplicated across
|
||||
other frameworks and extensions.
|
||||
|
||||
%h2 Non Imported Modules
|
||||
|
||||
%p
|
||||
You can import these yourself if you want to use them.
|
||||
%ul
|
||||
= render "partials/reference/import", :import => "compass/_layout.sass"
|
||||
= render "partials/reference/import", :import => "compass/_reset.sass"
|
||||
= render "partials/reference/import", :import => "compass/_misc.sass"
|
||||
|
||||
|
@ -9,4 +9,5 @@ classnames:
|
||||
---
|
||||
- render 'reference' do
|
||||
%p
|
||||
Lorem ipsum dolor sit amet.
|
||||
This module provides tools to help you with page layout.
|
||||
So far, it's just the stick-footer mixin.
|
||||
|
@ -9,4 +9,4 @@ classnames:
|
||||
---
|
||||
- render 'reference' do
|
||||
%p
|
||||
Lorem ipsum dolor sit amet.
|
||||
This mixin lets you style an Unobtrusive CSS logo obtrusively.
|
||||
|
@ -9,4 +9,5 @@ meta_description: Provides basic mixins for common styling patterns.
|
||||
---
|
||||
- render 'reference' do
|
||||
%p
|
||||
Lorem ipsum dolor sit amet.
|
||||
The Compass Utilities module provides some basic mixins
|
||||
for common styling patterns.
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
%h1= item[:title]
|
||||
|
||||
%p
|
||||
This file can be imported using:
|
||||
%code @import #{departialize(item[:stylesheet])}
|
||||
|
||||
= yield
|
||||
|
||||
= render "partials/reference/examples"
|
||||
|
@ -41,6 +41,10 @@ def reference_item(options)
|
||||
end
|
||||
end
|
||||
|
||||
def departialize(path)
|
||||
path.gsub(%r{(\b|/)_}){|m| m.size > 1 ? "/" : ""}
|
||||
end
|
||||
|
||||
def reference_path(options)
|
||||
if item = reference_item(options)
|
||||
rep = item.reps.find { |r| r.name == :default }
|
||||
|
Loading…
Reference in New Issue
Block a user