2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

add support for '//===' for <h3>s in bs-lessdoc

This commit is contained in:
Chris Rebert
2014-01-07 21:43:12 -08:00
parent 39861714a8
commit db829f8620
4 changed files with 72 additions and 22 deletions
+14 -11
View File
@@ -4,15 +4,18 @@ each section in sections
h2(id=section.id)= section.heading
if section.docstring
p!= section.docstring.html
div.row
each variable in section.variables
div.bs-customizer-input
label(for="input-" + variable.name)= variable.name
input.form-control(
id="input-" + variable.name
type="text"
value=variable.defaultValue
data-var=variable.name)
if variable.docstring
p.help-block!= variable.docstring.html
each subsection in section.subsections
if subsection.heading
h3(id=subsection.id)= subsection.heading
div.row
each variable in subsection.variables
div.bs-customizer-input
label(for="input-" + variable.name)= variable.name
input.form-control(
id="input-" + variable.name
type="text"
value=variable.defaultValue
data-var=variable.name)
if variable.docstring
p.help-block!= variable.docstring.html
// NOTE: DO NOT EDIT THE PRECEDING SECTION DIRECTLY! It is autogenerated via the `build-customizer-vars-form` Grunt task using the customizer-variables.jade template.