diff --git a/doc-src/Gemfile.lock b/doc-src/Gemfile.lock index 5c41f8e5..ed53a286 100644 --- a/doc-src/Gemfile.lock +++ b/doc-src/Gemfile.lock @@ -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) diff --git a/doc-src/content/stylesheets/partials/_example.scss b/doc-src/content/stylesheets/partials/_example.scss index 57fbeee6..46c65ff0 100644 --- a/doc-src/content/stylesheets/partials/_example.scss +++ b/doc-src/content/stylesheets/partials/_example.scss @@ -22,4 +22,8 @@ html.light #demo, html.dark #demo { .example-source { clear: both; } } +#reference { + float: right; + margin-top: 1em; +} diff --git a/doc-src/layouts/partials/example.haml b/doc-src/layouts/partials/example.haml index 554bbaf4..557820c7 100644 --- a/doc-src/layouts/partials/example.haml +++ b/doc-src/layouts/partials/example.haml @@ -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