anchor.diff:              link(rel="canonical" href="https://docs.respoke.io/js-library/#{link}")
               link(rel="stylesheet" type="text/css" href="css/docs.css")
       body
  -    
  +
           +navbar('dark')
               +menu()
  -        
  -        
  +
  +
           .container.navbar--push-it
               nav.sidebar
                   +menu()
  -            
  -            
  +
  +
               article.content: block content
                   h1= title
                   a(href=github + subTitle)= "from " + subTitle
   
  -                
  +
                   //- Properties and methods
                   each comment, indx in publicComments
                       section(id=comment.ctx.name.replace('.','-'))
                           br
                           br
  -                        
  -                        
  +
  +
                           //- Special treatment of the first item. It's the class name.
                           if (indx === 0)
                               if (comment.augments)
  
positive.code:                             //- the title of the method or prop
                              h2
                                  a(href="#"+comment.ctx.name)= comment.ctx.name
                              
                              h3 Type
                              code= comment.type
                          else
                              h2: a(href="#"+comment.ctx.name)
                                  = comment.ctx.name + "(" + comment.argumentArray.join(', ') + ")"
  
                          
                          //- Description
                          if (comment.description.summary)
                              h3 Description
                              div!= comment.description.summary
                          
                          
                          //- Usage
                          if (comment.description.body)
                              h3 Usage
                              div!= comment.description.body
                          
                          
                          //- Returns
                          if (indx !== 0 && comment.returns)
                              h3 Returns
                              code= comment.returns
                          
                          
                          //- Fires
                          if (comment.fires && comment.fires.length)
                              h3 Fires
                              code= comment.fires.map(mapFireEvents).join('|')
                          
                          
                          //- Arguments
                          if (indx !== 0 && comment.methodParams.length)
                              h3 Arguments
  
negative.code:                                         td: code= param.name.replace('[', '').replace(']', '')
                                          td= param.type
                                          td= param.desc
  
  
  
                           //- put a header at the end of the class declaration
                           if (indx === 0)
                               h2 Properties and Methods
  