mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	flake: add docs-linkcheck package for validating hyperlinks
		
	This commit is contained in:
		
					parent
					
						
							
								7da133c3a1
							
						
					
				
			
			
				commit
				
					
						dd8b0e272f
					
				
			
		
					 1 changed files with 14 additions and 0 deletions
				
			
		|  | @ -14,6 +14,20 @@ | ||||||
|       docs-html = docs.manual.html; |       docs-html = docs.manual.html; | ||||||
|       docs-manpages = docs.manPages; |       docs-manpages = docs.manPages; | ||||||
|       docs-json = docs.options.json; |       docs-json = docs.options.json; | ||||||
|  |       docs-linkcheck = let | ||||||
|  |         site = config.packages.docs; | ||||||
|  |       in | ||||||
|  |         pkgs.testers.lycheeLinkCheck { | ||||||
|  |           inherit site; | ||||||
|  |           remap = { | ||||||
|  |             "https://notashelf.github.io/nvf/" = site; | ||||||
|  |           }; | ||||||
|  |           extraConfig = { | ||||||
|  |             exclude = []; | ||||||
|  |             include_mail = true; | ||||||
|  |             include_verbatim = true; | ||||||
|  |           }; | ||||||
|  |         }; | ||||||
| 
 | 
 | ||||||
|       # Build and open the built manual in your system browser |       # Build and open the built manual in your system browser | ||||||
|       docs-html-wrapped = pkgs.writeScriptBin "docs-html-wrapped" '' |       docs-html-wrapped = pkgs.writeScriptBin "docs-html-wrapped" '' | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue