File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,14 @@ export class Categorizer implements Processor {
108108    classDoc . directiveMetadata  =  getDirectiveMetadata ( classDoc ) ; 
109109    classDoc . inheritedDocs  =  getInheritedDocsOfClass ( classDoc ,  this . _exportSymbolsToDocsMap ) ; 
110110
111+     classDoc . methods . push ( ...classDoc . statics 
112+       . filter ( isMethod ) 
113+       . filter ( filterDuplicateMembers )  as  CategorizedMethodMemberDoc [ ] ) ; 
114+ 
115+     classDoc . properties . push ( ...classDoc . statics 
116+       . filter ( isProperty ) 
117+       . filter ( filterDuplicateMembers )  as  CategorizedPropertyMemberDoc [ ] ) ; 
118+ 
111119    // In case the extended document is not public, we don't want to print it in the 
112120    // rendered class API doc. This causes confusion and also is not helpful as the 
113121    // extended document is not part of the docs and cannot be viewed. 
Original file line number Diff line number Diff line change 99            Deprecated
1010          </ div > 
1111        {%- endif -%}
12+         {%- if method.isStatic -%}
13+         < div  class ="docs-api-static-method-marker "> 
14+           static
15+         </ div > 
16+         {%- endif -%}
1217        {%- if method.isAsync -%}
1318        < div  class ="docs-api-async-method-marker "> 
1419          async
Original file line number Diff line number Diff line change 2727    {%- endif -%}
2828
2929    < p  class ="docs-api-property-name "> 
30-       < code > {$ property.name $}: {$ property.type $}</ code > 
30+       < code > {%- if property.isStatic -%}static {%- endif -%}{ $ property.name $}: {$ property.type $}</ code > 
3131    </ p > 
3232  </ td > 
3333  < td  class ="docs-api-property-description "> {$ property.description | marked | safe $}</ td > 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments