ignore hidden files during compilation
This commit is contained in:
		
							parent
							
								
									a6b8a15b1e
								
							
						
					
					
						commit
						22e6d5735f
					
				@ -49,6 +49,8 @@ def compile_wiki(source_path: str, dest_path: str) -> None:
 | 
				
			|||||||
            os.mkdir(os.path.join(dest_root, directory))
 | 
					            os.mkdir(os.path.join(dest_root, directory))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        for source_filename in files:
 | 
					        for source_filename in files:
 | 
				
			||||||
 | 
					            if source_filename.startswith('.'):
 | 
				
			||||||
 | 
					                continue
 | 
				
			||||||
            source_file_path = os.path.join(source_root, source_filename)
 | 
					            source_file_path = os.path.join(source_root, source_filename)
 | 
				
			||||||
            output = compile_source_file(
 | 
					            output = compile_source_file(
 | 
				
			||||||
                source_file_path,
 | 
					                source_file_path,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user