mirror of
				https://github.com/hwchase17/langchain.git
				synced 2025-10-31 07:41:40 +00:00 
			
		
		
		
	The `retryFailed` option will retry all failed links, once at a time with the goal of not triggering bot protection `microsoft.com` is now hard coded into the whitelist
		
			
				
	
	
		
			8 lines
		
	
	
		
			194 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			194 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // Sorry py folks, gotta be js for this one
 | |
| const { checkBrokenLinks } = require("@langchain/scripts/check_broken_links");
 | |
| 
 | |
| checkBrokenLinks("docs", {
 | |
|   timeout: 10000,
 | |
|   retryFailed: true,
 | |
| });
 |