[Docs] Add a link from the example to the reference documentation.

This commit is contained in:
Chris Eppstein 2010-12-18 13:12:11 -08:00
parent 668a856c14
commit 411adba777
3 changed files with 8 additions and 1 deletions

View File

@ -14,7 +14,7 @@ GIT
PATH
remote: ..
specs:
compass (0.11.alpha.4.30f446d)
compass (0.11.alpha.4.668a856)
chunky_png (~> 0.10.3)
sass (>= 3.1.0.alpha.50)

View File

@ -22,4 +22,8 @@ html.light #demo, html.dark #demo {
.example-source { clear: both; }
}
#reference {
float: right;
margin-top: 1em;
}

View File

@ -1,3 +1,6 @@
- if @item[:stylesheet] && (reference = reference_item(:stylesheet => @item[:stylesheet]))
#reference= link_to "Reference Documentation", reference
%h1 Demo: #{@item[:title]}
#demo= example_html