gitit 0.11.1 → 0.11.1.1
raw patch · 4 files changed
+11/−3 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGES +5/−0
- Network/Gitit/Initialize.hs +5/−1
- gitit.cabal +1/−1
- plugins/Dot.hs +0/−1
CHANGES view
@@ -1,3 +1,8 @@+Version 0.11.1.1 released 14 Aug 2015++ * Fixed Network.Gitit.Initialize so it compiles with older pandoc (#506).+ * Removed extra import of liftIO in Dot.hs plugin.+ Version 0.11.1 released 23 Jul 2015 * Allow `commonmark` as a page type.
Network/Gitit/Initialize.hs view
@@ -139,7 +139,6 @@ -- note: we convert this (markdown) to the default page format converter = case pt of Markdown -> id- CommonMark -> writeCommonMark defOpts . toPandoc LaTeX -> writeLaTeX defOpts . toPandoc HTML -> writeHtmlString defOpts . toPandoc RST -> writeRST defOpts . toPandoc@@ -147,6 +146,11 @@ Org -> writeOrg defOpts . toPandoc DocBook -> writeDocbook defOpts . toPandoc MediaWiki -> writeMediaWiki defOpts . toPandoc+#if MIN_VERSION_pandoc(1,14,0)+ CommonMark -> writeCommonMark defOpts . toPandoc+#else+ CommonMark -> error "CommonMark support requires pandoc >= 1.14"+#endif welcomepath <- getDataFileName $ "data" </> "FrontPage" <.> "page" welcomecontents <- liftM converter $ readFileUTF8 welcomepath
gitit.cabal view
@@ -1,5 +1,5 @@ name: gitit-version: 0.11.1+version: 0.11.1.1 Cabal-version: >= 1.6 build-type: Simple synopsis: Wiki using happstack, git or darcs, and pandoc.
plugins/Dot.hs view
@@ -20,7 +20,6 @@ -- from the SHA package on HackageDB: import Data.Digest.Pure.SHA (sha1, showDigest) import System.FilePath ((</>))-import Control.Monad.Trans (liftIO) plugin :: Plugin plugin = mkPageTransformM transformBlock