Don't process functions beginning with underscores
This commit is contained in:
		@@ -154,9 +154,18 @@ export const typeDocUtils = {
 | 
			
		||||
 | 
			
		||||
                case KindString.Function:
 | 
			
		||||
                    if (entity.flags.isExported) {
 | 
			
		||||
                        const func = typeDocUtils._convertFunction(entity, docsInfo.sections, sectionName, docsInfo.id);
 | 
			
		||||
                        const funcName = (entity as TypeDocNode).signatures[0].name;
 | 
			
		||||
                        const isPublicFunc = !_.startsWith(funcName, '_');
 | 
			
		||||
                        if (isPublicFunc) {
 | 
			
		||||
                            const func = typeDocUtils._convertFunction(
 | 
			
		||||
                                entity,
 | 
			
		||||
                                docsInfo.sections,
 | 
			
		||||
                                sectionName,
 | 
			
		||||
                                docsInfo.id,
 | 
			
		||||
                            );
 | 
			
		||||
                            docSection.functions.push(func);
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
                    break;
 | 
			
		||||
 | 
			
		||||
                case KindString.Method:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user