File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,14 @@ export class Categorizer implements Processor {
108
108
classDoc . directiveMetadata = getDirectiveMetadata ( classDoc ) ;
109
109
classDoc . inheritedDocs = getInheritedDocsOfClass ( classDoc , this . _exportSymbolsToDocsMap ) ;
110
110
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
+
111
119
// In case the extended document is not public, we don't want to print it in the
112
120
// rendered class API doc. This causes confusion and also is not helpful as the
113
121
// extended document is not part of the docs and cannot be viewed.
Original file line number Diff line number Diff line change 9
9
Deprecated
10
10
</ div >
11
11
{%- endif -%}
12
+ {%- if method.isStatic -%}
13
+ < div class ="docs-api-modifier-method-marker ">
14
+ static
15
+ </ div >
16
+ {%- endif -%}
12
17
{%- if method.isAsync -%}
13
- < div class ="docs-api-async -method-marker ">
18
+ < div class ="docs-api-modifier -method-marker ">
14
19
async
15
20
</ div >
16
21
{%- endif -%}
Original file line number Diff line number Diff line change 27
27
{%- endif -%}
28
28
29
29
< 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 >
31
31
</ p >
32
32
</ td >
33
33
< td class ="docs-api-property-description "> {$ property.description | marked | safe $}</ td >
You can’t perform that action at this time.
0 commit comments