One more update for API docs to not render so much rubbish, plus fixes
This commit is contained in:
parent
65dccaca8d
commit
0a14538bbe
21 changed files with 899 additions and 927 deletions
|
|
@ -128,21 +128,14 @@ mixin article(obj, parents)
|
|||
|
||||
div.sideToggler
|
||||
|
||||
if obj.short_description
|
||||
div(id='ellipsis_#{obj.id}', class='ellipsis_description')
|
||||
mixin markdown(obj.short_description)
|
||||
div(id='short_#{obj.id}', class='short_description hiddenSpan')
|
||||
mixin markdown(obj.description)
|
||||
div(id='ellipsis_#{obj.id}', class='ellipsis_description')
|
||||
mixin markdown(obj.short_description)
|
||||
|
||||
h3(id='#{obj.id}', class='methodToggle methodClicker inactive')
|
||||
|
||||
div.description
|
||||
|
||||
-description = obj.description.substring(obj.short_description.length) // cut the short_desc out
|
||||
descArray = description.split("\n#### ")
|
||||
|
||||
if descArray[0].length && descArray[0] !== '' && descArray[0] !== '\n'
|
||||
mixin markdown(descArray[0])
|
||||
mixin markdown(obj.description)
|
||||
|
||||
if obj.bound && ~obj.bound.indexOf('#')
|
||||
p.note.methodized
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue