apiary 1.4.1 → 1.4.2
raw patch · 3 files changed
+7/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +3/−0
- apiary.cabal +1/−1
- src/Data/Apiary/Document/Html.hs +3/−3
CHANGELOG.md view
@@ -1,3 +1,6 @@+# 1.4.2+* fix: remove async from API document+ # 1.4.1 * add viewport, charset, and async to auto generate API document
apiary.cabal view
@@ -1,5 +1,5 @@ name: apiary-version: 1.4.1+version: 1.4.2 synopsis: Simple and type safe web framework that generate web API documentation. description: Simple and type safe web framework that can be automatically generate API documentation.
src/Data/Apiary/Document/Html.hs view
@@ -109,7 +109,7 @@ where css u = H.link ! A.rel "stylesheet" ! A.href u- js u = H.script ! A.src u ! A.async "async" $ mempty+ js u = H.script ! A.src u $ mempty dataToggle = attribute "data-toggle" " data-toggle=\"" dataTarget = attribute "data-target" " data-target=\"" @@ -117,8 +117,8 @@ cdns = do css "http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"- js "http://code.jquery.com/jquery-2.1.1.min.js"- js "http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"+ js "http://code.jquery.com/jquery-2.1.1.min.js"+ js "http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" embeds = $( do let embed f p = TH.runIO (readFile p) >>= \c -> [|$(TH.varE f) $ preEscapedToHtml (c :: String)|]