[Docs] Add a link from the example to the reference documentation.
This commit is contained in:
parent
668a856c14
commit
411adba777
@ -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)
|
||||
|
||||
|
@ -22,4 +22,8 @@ html.light #demo, html.dark #demo {
|
||||
.example-source { clear: both; }
|
||||
}
|
||||
|
||||
#reference {
|
||||
float: right;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user