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 artifacts
/.stack-work/ /.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 "" "" "" "" "" .TH "" "" "" "" ""
.hy
.SH Name .SH Name
.PP .PP
xmonad \- a tiling window manager xmonad \- a tiling window manager

View File

@ -8,7 +8,7 @@
<style type="text/css">code{white-space: pre;}</style> <style type="text/css">code{white-space: pre;}</style>
</head> </head>
<body> <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"> <div id="TOC">
<ul> <ul>
<li><a href="#name">Name</a></li> <li><a href="#name">Name</a></li>

View File

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