shake commandhelp: don't generate a txt for the README (#981)
[ci skip]
This commit is contained in:
		
							parent
							
								
									ee884f74d1
								
							
						
					
					
						commit
						f9aa71caf1
					
				
							
								
								
									
										4
									
								
								Shake.hs
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Shake.hs
									
									
									
									
									
								
							| @ -114,7 +114,9 @@ main = do | ||||
| 
 | ||||
|   -- hledger manual also includes the markdown files from here: | ||||
|   let commandsdir = "hledger/Hledger/Cli/Commands" | ||||
|   commandmds <- filter (".md" `isSuffixOf`) . map (commandsdir </>) <$> S.getDirectoryContents commandsdir | ||||
|   commandmds <- | ||||
|     filter (not . ("README." `isPrefixOf`) . takeFileName) . filter (".md" `isSuffixOf`) . map (commandsdir </>) | ||||
|     <$> S.getDirectoryContents commandsdir | ||||
|   let commandtxts = map (-<.> "txt") commandmds | ||||
|   let wikidir = "wiki" | ||||
|   wikipagefilenames <- map dropExtension . filter (".md" `isSuffixOf`) <$> S.getDirectoryContents wikidir | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user