Simple docs homepage
This commit is contained in:
parent
545525deb7
commit
b1fa724f66
BIN
doc-src/assets/images/compass.png
Normal file
BIN
doc-src/assets/images/compass.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
@ -1,10 +1,28 @@
|
|||||||
---
|
---
|
||||||
title: Home
|
title: Compass Documentation
|
||||||
|
crumb: Docs
|
||||||
|
body_id: home
|
||||||
---
|
---
|
||||||
%h1 Compass Documentation
|
%h1 Compass
|
||||||
|
|
||||||
%p
|
%p
|
||||||
Welcome to the compass docs.
|
Compass is a stylesheet authoring tool that uses the Sass stylesheet
|
||||||
|
language to make your stylesheets smaller and your web site easier to
|
||||||
|
maintain. Compass provides ports of the best of breed css frameworks
|
||||||
|
that you can use without forcing you to use their presentational class
|
||||||
|
names. It’s a new way of thinking about stylesheets that must be seen
|
||||||
|
in action!
|
||||||
|
|
||||||
%ul
|
%h2 Screencast Tutorial
|
||||||
%li= link_to "Blueprint Reference", reference_path(:stylesheet => "blueprint.sass")
|
|
||||||
|
%p
|
||||||
|
This screencast will walk you through getting set up,
|
||||||
|
learning Sass, and then how to use Compass to style a webpage.
|
||||||
|
|
||||||
|
<object width="660" height="371"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4335944&server=vimeo.com&show_title=1&show_byline=0&show_portrait=0&color=00ADEF&fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4335944&server=vimeo.com&show_title=1&show_byline=0&show_portrait=0&color=00ADEF&fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="660" height="371"></embed></object>
|
||||||
|
|
||||||
|
%h2 Bugs Reports, Discussions, Support
|
||||||
|
|
||||||
|
:markdown
|
||||||
|
Send a note to the [mailing list](http://groups.google.com/group/compass-users)
|
||||||
|
and/or [File a bug](http://github.com/chriseppstein/compass/issues).
|
@ -81,4 +81,7 @@ ol#breadcrumbs
|
|||||||
li.last:after
|
li.last:after
|
||||||
content: ""
|
content: ""
|
||||||
li.last
|
li.last
|
||||||
visibility: hidden
|
visibility: hidden
|
||||||
|
body#home h1
|
||||||
|
+replace-text("compass.png", 0px)
|
||||||
|
height: 159px
|
@ -11,10 +11,10 @@ def body_class(item)
|
|||||||
end
|
end
|
||||||
|
|
||||||
def body_id(item)
|
def body_id(item)
|
||||||
if id = item.identifier.chop[1..-1]
|
if item[:body_id]
|
||||||
|
item[:body_id]
|
||||||
|
elsif id = item.identifier.chop[1..-1]
|
||||||
id.gsub(/\/|_/, "-")
|
id.gsub(/\/|_/, "-")
|
||||||
else
|
|
||||||
nil
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user