rest-gen 0.17.0.5 → 0.17.0.6
raw patch · 3 files changed
+9/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- rest-gen.cabal +1/−1
- src/Rest/Gen/Docs.hs +4/−2
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog +#### 0.17.0.6++* Fix linking of documentation resources (thanks Jan-Philip Loos)+ #### 0.17.0.5 * Allow `aeson 0.9.*`
rest-gen.cabal view
@@ -1,5 +1,5 @@ name: rest-gen-version: 0.17.0.5+version: 0.17.0.6 description: Documentation and client generation from rest definition. synopsis: Documentation and client generation from rest definition. maintainer: code@silk.co
src/Rest/Gen/Docs.hs view
@@ -71,8 +71,9 @@ $ setManyAttrib [ ("listing" , map (renderHtml . (\v -> resourceLinkAnchor v (resourceDisp v))) . sort . allSubResourceIds $ tree) ] $ setManyAttrib- [ ("resources", renderHtml $ subResourcesInfo ctx tree )- , ("version", show $ contextVersion ctx )+ [ ("resources" , renderHtml $ subResourcesInfo ctx tree )+ , ("version" , show $ contextVersion ctx )+ , ("static" , rootUrl ctx ) ] tmpl @@ -93,6 +94,7 @@ , ("urls" , renderHtml $ resourceTable tree) , ("description" , resDescription tree) , ("version" , show $ contextVersion ctx)+ , ("static" , rootUrl ctx ) ] tmpl