File tree 2 files changed +3
-12
lines changed
repo-scripts/api-documenter/src/documenters
2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,9 @@ export class MarkdownDocumenter {
329
329
output . push ( ...createThrowsSection ( apiItem , configuration ) ) ;
330
330
break ;
331
331
case ApiItemKind . Namespace :
332
- // this._writeEntryPointOrNamespace(output, apiItem as ApiNamespace);
332
+ output . push (
333
+ ...this . _createEntryPointOrNamespace ( apiItem as ApiNamespace )
334
+ ) ;
333
335
break ;
334
336
case ApiItemKind . Model :
335
337
output . push ( ...this . _createModelTable ( apiItem as ApiModel ) ) ;
Original file line number Diff line number Diff line change @@ -108,20 +108,9 @@ export function getFilenameForApiItem(
108
108
baseName += '_n' ;
109
109
}
110
110
break ;
111
- // append the file name with the first letter of the ApiItemKind to avoid name collision.
112
- // Sometimes we could have a class/interface and an entry point that have the same name.
113
- // This happened in the admin SDK where the App interface and the app namespace write to the same file.
114
111
case ApiItemKind . Class :
115
- baseName += '.' + qualifiedName ;
116
- if ( addFileNameSuffix ) {
117
- baseName += '_c' ;
118
- }
119
- break ;
120
112
case ApiItemKind . Interface :
121
113
baseName += '.' + qualifiedName ;
122
- if ( addFileNameSuffix ) {
123
- baseName += '_i' ;
124
- }
125
114
break ;
126
115
}
127
116
}
You can’t perform that action at this time.
0 commit comments