From: Shahyar Date: Mon, 14 Apr 2014 19:36:53 +0000 (-0400) Subject: Improve rendering of Living Style Guide sections, examples, and modifiers. X-Git-Tag: 1.31.0-rc.0~15642^2 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=a6850e52ae252253253fb86645fc6eeaf9575faf;p=lhc%2Fweb%2Fwiklou.git Improve rendering of Living Style Guide sections, examples, and modifiers. Change-Id: I5ca69ff5889239eed2f369917bf7bcbbd751e397 --- 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}}