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
No known key found for this signature in database
GPG Key ID: 9DAFAA8D01941E49
4 changed files with 6 additions and 6 deletions

1
.gitignore vendored
View File

@ -23,3 +23,4 @@ tags
# stack artifacts
/.stack-work/
/cabal.project.local

View File

@ -1,7 +1,7 @@
.TH xmonad 1 "31 December 2012" xmonad-0.12 "xmonad manual".\" Automatically generated by Pandoc 1.15.1
.TH xmonad 1 "31 December 2012" xmonad-0.13 "xmonad manual".\" Automatically generated by Pandoc 1.19.2.1
.\"
.hy
.TH "" "" "" "" ""
.hy
.SH Name
.PP
xmonad \- a tiling window manager

View File

@ -8,7 +8,7 @@
<style type="text/css">code{white-space: pre;}</style>
</head>
<body>
<h1>xmonad-0.12</h1><p>Section: xmonad manual (1)<br/>Updated: 31 December 2012</p><hr/>
<h1>xmonad-0.13</h1><p>Section: xmonad manual (1)<br/>Updated: 31 December 2012</p><hr/>
<div id="TOC">
<ul>
<li><a href="#name">Name</a></li>

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"