2014-07-07 13:10:32 -04:00
|
|
|
extends /templates/base
|
|
|
|
|
2014-07-09 16:01:53 -04:00
|
|
|
|
2014-07-07 13:10:32 -04:00
|
|
|
block content
|
2014-07-09 18:32:57 -04:00
|
|
|
.row
|
|
|
|
.col-xs-3.index-column.nano
|
|
|
|
ul.nav.nav-list.list-group.nano-content
|
|
|
|
for component in components
|
2014-07-14 14:18:17 -04:00
|
|
|
a.doc-name(href="##{component.get('name')}")
|
2014-07-20 19:23:01 -04:00
|
|
|
li.list-group-item= component.get('name')
|
2014-07-14 14:18:17 -04:00
|
|
|
ul
|
2014-07-20 19:23:01 -04:00
|
|
|
// .list-group for different layout
|
2014-07-14 14:18:17 -04:00
|
|
|
each doc in component.attributes.propertyDocumentation
|
|
|
|
a(href="##{component.get('name')}#{doc.name}")
|
2014-07-20 19:23:01 -04:00
|
|
|
li.list-group-item
|
2014-07-14 14:18:17 -04:00
|
|
|
| #{doc.name}
|
2014-07-09 18:32:57 -04:00
|
|
|
.col-xs-9.documentation-column.nano
|
|
|
|
ul.nano-content
|
|
|
|
for component in components
|
2014-07-20 19:23:01 -04:00
|
|
|
div(id="#{component.get('name')}" class="panel panel-defalt")
|
|
|
|
div(class="panel-heading")
|
|
|
|
| #{component.get('name')}
|
|
|
|
div(class="panel-body")
|
|
|
|
| #{component.get('description')}
|
2014-07-14 14:18:17 -04:00
|
|
|
ul
|
|
|
|
each doc in component.attributes.propertyDocumentation
|
2014-07-20 19:23:01 -04:00
|
|
|
li.list-group-item(id="#{component.get('name')}#{doc.name}")
|
2014-07-14 14:18:17 -04:00
|
|
|
| #{doc.name}
|
|
|
|
ul.specialList
|
2014-07-17 12:11:23 -04:00
|
|
|
if doc.description[language]
|
|
|
|
li!=marked(doc.description[language])
|
2014-07-16 20:18:06 -04:00
|
|
|
else
|
2014-07-20 19:23:01 -04:00
|
|
|
li!=marked(doc.description)
|
|
|
|
li.panel-heading
|
|
|
|
a.codeBlock(data-toggle="collapse" data-parent="##{component.get('name')}" href="##{component.get('name')}Code")
|
|
|
|
| Code
|
|
|
|
div(id="#{component.get('name')}Code" class="panel-collapse collapse")
|
|
|
|
div.panel-body
|
|
|
|
pre
|
|
|
|
| #{component.attributes.code}
|
|
|
|
|
|
|
|
|