File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed
repo-scripts/api-documenter/src/documenters Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,9 @@ export class MarkdownDocumenter {
329329 output . push ( ...createThrowsSection ( apiItem , configuration ) ) ;
330330 break ;
331331 case ApiItemKind . Namespace :
332- // this._writeEntryPointOrNamespace(output, apiItem as ApiNamespace);
332+ output . push (
333+ ...this . _createEntryPointOrNamespace ( apiItem as ApiNamespace )
334+ ) ;
333335 break ;
334336 case ApiItemKind . Model :
335337 output . push ( ...this . _createModelTable ( apiItem as ApiModel ) ) ;
Original file line number Diff line number Diff line change @@ -108,20 +108,9 @@ export function getFilenameForApiItem(
108108 baseName += '_n' ;
109109 }
110110 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.
114111 case ApiItemKind . Class :
115- baseName += '.' + qualifiedName ;
116- if ( addFileNameSuffix ) {
117- baseName += '_c' ;
118- }
119- break ;
120112 case ApiItemKind . Interface :
121113 baseName += '.' + qualifiedName ;
122- if ( addFileNameSuffix ) {
123- baseName += '_i' ;
124- }
125114 break ;
126115 }
127116 }
You can’t perform that action at this time.
0 commit comments