Build the man page for 0.13

This commit is contained in:
Peter Jones
2017-02-10 15:46:45 -07:00
parent acf0652952
commit ba2d75b930
4 changed files with 6 additions and 6 deletions

View File

@@ -79,7 +79,7 @@ main = do
Right template <- getDefaultTemplate Nothing "man"
writeFile "./man/xmonad.1"
. (manHeader ++)
. writeMan def{ writerStandalone = True, writerTemplate = template }
. writeMan def{ writerTemplate = Just template }
$ parsed
putStrLn "Documentation created: man/xmonad.1"
@@ -92,8 +92,7 @@ main = do
"<p>Section: xmonad manual (1)<br/>"++
"Updated: "++releaseDate++"</p>"++
"<hr/>")]
, writerStandalone = True
, writerTemplate = template
, writerTemplate = Just template
, writerTableOfContents = True }
$ parsed
putStrLn "Documentation created: man/xmonad.1.html"