diagrams-haddock 0.3.0.7 → 0.3.0.8
raw patch · 3 files changed
+8/−3 lines, 3 filesdep ~lucid-svg
Dependency ranges changed: lucid-svg
Files
- CHANGES.md +4/−0
- diagrams-haddock.cabal +3/−2
- src/Diagrams/Haddock.hs +1/−1
CHANGES.md view
@@ -1,3 +1,7 @@+## [v0.3.0.8](https://github.com/diagrams/diagrams-haddock/tree/v0.3.0.8) (2015-11-15)++- Allow `lucid-svg-0.6`+ ## [v0.3.0.7](https://github.com/diagrams/diagrams-haddock/tree/v0.3.0.7) (2015-09-22) - Allow `lens-4.13`, `linear-1.20`, and `tasty-0.11`
diagrams-haddock.cabal view
@@ -1,5 +1,5 @@ name: diagrams-haddock-version: 0.3.0.7+version: 0.3.0.8 synopsis: Preprocessor for embedding diagrams in Haddock documentation description: diagrams-haddock is a tool for compiling embedded inline diagrams code in Haddock documentation, for an@@ -34,6 +34,7 @@ library exposed-modules: Diagrams.Haddock+ other-modules: Paths_diagrams_haddock build-depends: base >= 4.4 && < 4.9, filepath, directory,@@ -44,7 +45,7 @@ strict >= 0.3 && < 0.4, parsec >= 3, haskell-src-exts >= 1.16 && < 1.17,- lucid-svg >= 0.5 && < 0.6,+ lucid-svg >= 0.5 && < 0.7, diagrams-builder >= 0.5 && < 0.8, diagrams-lib >= 0.6 && < 1.4, diagrams-svg >= 0.8.0.1 && < 1.4,
src/Diagrams/Haddock.hs view
@@ -455,7 +455,7 @@ let bopts :: DB.BuildOpts SVG V2 Double- bopts = DB.mkBuildOpts SVG zero (SVGOptions (mkSizeSpec2D w h) Nothing "")+ bopts = DB.mkBuildOpts SVG zero (SVGOptions (mkSizeSpec2D w h) Nothing "" [] False) & DB.snippets .~ map (view codeBlockCode) neededCode & DB.imports .~ [ "Diagrams.Backend.SVG" ] & DB.diaExpr .~ (url ^. diagramName)