From 34fe52c1169beead54efd86a9df32229f3111fed Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Tue, 20 Apr 2010 23:33:48 -0700 Subject: [PATCH] get blueprint on the new layout. --- doc-src/content/reference/blueprint.haml | 1 + doc-src/content/reference/blueprint/buttons.haml | 1 + doc-src/content/reference/blueprint/colors.haml | 1 + doc-src/content/reference/blueprint/debug.haml | 1 + doc-src/content/reference/blueprint/fancy_type.haml | 1 + doc-src/content/reference/blueprint/form.haml | 1 + doc-src/content/reference/blueprint/grid.haml | 1 + doc-src/content/reference/blueprint/ie.haml | 1 + doc-src/content/reference/blueprint/interaction.haml | 1 + doc-src/content/reference/blueprint/link_icons.haml | 1 + doc-src/content/reference/blueprint/liquid.haml | 1 + doc-src/content/reference/blueprint/print.haml | 1 + doc-src/content/reference/blueprint/reset.haml | 1 + doc-src/content/reference/blueprint/rtl.haml | 1 + doc-src/content/reference/blueprint/scaffolding.haml | 1 + doc-src/content/reference/blueprint/typography.haml | 1 + doc-src/content/reference/blueprint/utilities.haml | 1 + doc-src/layouts/blueprint.haml | 3 +++ doc-src/layouts/core.haml | 2 +- doc-src/layouts/default.haml | 2 +- doc-src/layouts/partials/sidebar.haml | 2 +- 21 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 doc-src/layouts/blueprint.haml diff --git a/doc-src/content/reference/blueprint.haml b/doc-src/content/reference/blueprint.haml index d244deba..9a646042 100644 --- a/doc-src/content/reference/blueprint.haml +++ b/doc-src/content/reference/blueprint.haml @@ -3,6 +3,7 @@ title: Blueprint Module crumb: Blueprint framework: blueprint stylesheet: _blueprint.scss +layout: blueprint classnames: - reference meta_description: The Blueprint Framework -- ported to Sass. diff --git a/doc-src/content/reference/blueprint/buttons.haml b/doc-src/content/reference/blueprint/buttons.haml index f5b524d2..daec39a8 100644 --- a/doc-src/content/reference/blueprint/buttons.haml +++ b/doc-src/content/reference/blueprint/buttons.haml @@ -3,6 +3,7 @@ title: Blueprint Buttons crumb: Buttons framework: blueprint stylesheet: blueprint/_buttons.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/colors.haml b/doc-src/content/reference/blueprint/colors.haml index 7a2d3608..e95c9730 100644 --- a/doc-src/content/reference/blueprint/colors.haml +++ b/doc-src/content/reference/blueprint/colors.haml @@ -3,6 +3,7 @@ title: Blueprint Colors crumb: Colors framework: blueprint stylesheet: blueprint/_colors.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/debug.haml b/doc-src/content/reference/blueprint/debug.haml index e13aad25..32e3279e 100644 --- a/doc-src/content/reference/blueprint/debug.haml +++ b/doc-src/content/reference/blueprint/debug.haml @@ -3,6 +3,7 @@ title: Blueprint Debug crumb: Debug framework: blueprint stylesheet: blueprint/_debug.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/fancy_type.haml b/doc-src/content/reference/blueprint/fancy_type.haml index fac6bd7d..51b9c7b4 100644 --- a/doc-src/content/reference/blueprint/fancy_type.haml +++ b/doc-src/content/reference/blueprint/fancy_type.haml @@ -3,6 +3,7 @@ title: Blueprint Fancy Type crumb: Fancy Type framework: blueprint stylesheet: blueprint/_fancy-type.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/form.haml b/doc-src/content/reference/blueprint/form.haml index 07e873ac..2e3a6993 100644 --- a/doc-src/content/reference/blueprint/form.haml +++ b/doc-src/content/reference/blueprint/form.haml @@ -3,6 +3,7 @@ title: Blueprint Form crumb: Form framework: blueprint stylesheet: blueprint/_form.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/grid.haml b/doc-src/content/reference/blueprint/grid.haml index a27b7032..35e755bb 100644 --- a/doc-src/content/reference/blueprint/grid.haml +++ b/doc-src/content/reference/blueprint/grid.haml @@ -3,6 +3,7 @@ title: Blueprint Grid crumb: Grid framework: blueprint stylesheet: blueprint/_grid.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/ie.haml b/doc-src/content/reference/blueprint/ie.haml index 95a38f57..a394d4a6 100644 --- a/doc-src/content/reference/blueprint/ie.haml +++ b/doc-src/content/reference/blueprint/ie.haml @@ -3,6 +3,7 @@ title: Blueprint IE Compatibility crumb: Internet Explorer framework: blueprint stylesheet: blueprint/_ie.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/interaction.haml b/doc-src/content/reference/blueprint/interaction.haml index ef04a2bb..ea449efc 100644 --- a/doc-src/content/reference/blueprint/interaction.haml +++ b/doc-src/content/reference/blueprint/interaction.haml @@ -3,6 +3,7 @@ title: Blueprint Interaction crumb: Interaction framework: blueprint stylesheet: blueprint/_interaction.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/link_icons.haml b/doc-src/content/reference/blueprint/link_icons.haml index 593a0db4..5888540c 100644 --- a/doc-src/content/reference/blueprint/link_icons.haml +++ b/doc-src/content/reference/blueprint/link_icons.haml @@ -3,6 +3,7 @@ title: Blueprint Link Icons crumb: Link Icons framework: blueprint stylesheet: blueprint/_link-icons.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/liquid.haml b/doc-src/content/reference/blueprint/liquid.haml index 9a1b8036..430e4998 100644 --- a/doc-src/content/reference/blueprint/liquid.haml +++ b/doc-src/content/reference/blueprint/liquid.haml @@ -3,6 +3,7 @@ title: Blueprint Liquid crumb: Liquid framework: blueprint stylesheet: blueprint/_liquid.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/print.haml b/doc-src/content/reference/blueprint/print.haml index 91a88a69..7410840c 100644 --- a/doc-src/content/reference/blueprint/print.haml +++ b/doc-src/content/reference/blueprint/print.haml @@ -3,6 +3,7 @@ title: Blueprint Print crumb: Print framework: blueprint stylesheet: blueprint/_print.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/reset.haml b/doc-src/content/reference/blueprint/reset.haml index ae8ace31..bab4b4b6 100644 --- a/doc-src/content/reference/blueprint/reset.haml +++ b/doc-src/content/reference/blueprint/reset.haml @@ -3,6 +3,7 @@ title: Blueprint Reset crumb: Reset framework: blueprint stylesheet: blueprint/_reset.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/rtl.haml b/doc-src/content/reference/blueprint/rtl.haml index 30a5762e..81502796 100644 --- a/doc-src/content/reference/blueprint/rtl.haml +++ b/doc-src/content/reference/blueprint/rtl.haml @@ -3,6 +3,7 @@ title: Blueprint Rtl crumb: Rtl framework: blueprint stylesheet: blueprint/_rtl.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/scaffolding.haml b/doc-src/content/reference/blueprint/scaffolding.haml index 06dd8ce9..561522e7 100644 --- a/doc-src/content/reference/blueprint/scaffolding.haml +++ b/doc-src/content/reference/blueprint/scaffolding.haml @@ -3,6 +3,7 @@ title: Blueprint Scaffolding crumb: Scaffolding framework: blueprint stylesheet: blueprint/_scaffolding.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/typography.haml b/doc-src/content/reference/blueprint/typography.haml index c19a6ff6..5a60cb3e 100644 --- a/doc-src/content/reference/blueprint/typography.haml +++ b/doc-src/content/reference/blueprint/typography.haml @@ -3,6 +3,7 @@ title: Blueprint Typography crumb: Typography framework: blueprint stylesheet: blueprint/_typography.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/content/reference/blueprint/utilities.haml b/doc-src/content/reference/blueprint/utilities.haml index 62a45ac8..71dd06e3 100644 --- a/doc-src/content/reference/blueprint/utilities.haml +++ b/doc-src/content/reference/blueprint/utilities.haml @@ -3,6 +3,7 @@ title: Blueprint Utilities crumb: Utilities framework: blueprint stylesheet: blueprint/_utilities.scss +layout: blueprint classnames: - reference --- diff --git a/doc-src/layouts/blueprint.haml b/doc-src/layouts/blueprint.haml new file mode 100644 index 00000000..88c41921 --- /dev/null +++ b/doc-src/layouts/blueprint.haml @@ -0,0 +1,3 @@ +- render 'main' do + %aside(role="sidebar")= render 'partials/sidebar', :default_stylesheet => "_blueprint.scss" + %article= yield \ No newline at end of file diff --git a/doc-src/layouts/core.haml b/doc-src/layouts/core.haml index 75b2130c..9a08d172 100644 --- a/doc-src/layouts/core.haml +++ b/doc-src/layouts/core.haml @@ -1,3 +1,3 @@ - render 'main' do - %aside(role="sidebar")= render 'partials/sidebar' + %aside(role="sidebar")= render 'partials/sidebar', :default_stylesheet => "_compass.scss" %article= yield \ No newline at end of file diff --git a/doc-src/layouts/default.haml b/doc-src/layouts/default.haml index cbf310b2..47d70775 100644 --- a/doc-src/layouts/default.haml +++ b/doc-src/layouts/default.haml @@ -16,7 +16,7 @@ #main = yield #sidebar - = render "partials/sidebar" + = render "partials/sidebar", :default_stylesheet => "_compass.scss" #footer= render "partials/footer" %script(src="/docs/javascripts/fixups.js" deferred) = render "partials/analytics" diff --git a/doc-src/layouts/partials/sidebar.haml b/doc-src/layouts/partials/sidebar.haml index acb51a9a..7ab16f79 100644 --- a/doc-src/layouts/partials/sidebar.haml +++ b/doc-src/layouts/partials/sidebar.haml @@ -1,2 +1,2 @@ %nav#local-nav - %ul= item_tree(reference_item(:stylesheet => (@item[:nav_stylesheet] || "_compass.scss")), :depth => 2, :omit_self => true) + %ul= item_tree(reference_item(:stylesheet => (@item[:nav_stylesheet] || @default_stylesheet)), :depth => 2, :omit_self => true)