From a6850e52ae252253253fb86645fc6eeaf9575faf Mon Sep 17 00:00:00 2001 From: Shahyar Date: Mon, 14 Apr 2014 15:36:53 -0400 Subject: [PATCH] Improve rendering of Living Style Guide sections, examples, and modifiers. Change-Id: I5ca69ff5889239eed2f369917bf7bcbbd751e397 --- docs/kss/styleguide-template/index.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/kss/styleguide-template/index.html b/docs/kss/styleguide-template/index.html index 99f3e4f81b..cb95197f78 100644 --- a/docs/kss/styleguide-template/index.html +++ b/docs/kss/styleguide-template/index.html @@ -28,6 +28,7 @@ {{html overview}} {{else}} {{#eachSection rootNumber}} +
{{#whenDepth 1}}

{{ reference }}.0 - {{ header }}

{{else}} @@ -40,12 +41,12 @@ {{/whenDepth}} {{#ifAny markup modifiers}}
{{html description}}
- Default styling
- {{modifierMarkup}} +

Default styling

+
{{modifierMarkup}}
{{#eachModifier}} - {{html description}}
-

{{name}}

- {{modifierMarkup}} +

{{name}}

+ {{html description}} +
{{modifierMarkup}}
{{/eachModifier}}
{{markup}}
{{else}} @@ -53,6 +54,7 @@ {{html description}} {{/if}} {{/ifAny}} +
{{/eachSection}} {{/if}} -- 2.20.1