diff --git a/Text/PrettyPrint/Annotated/Leijen.hs b/Text/PrettyPrint/Annotated/Leijen.hs
--- a/Text/PrettyPrint/Annotated/Leijen.hs
+++ b/Text/PrettyPrint/Annotated/Leijen.hs
@@ -44,7 +44,7 @@
   annotate, noAnnotate,
 
   -- * Rendering
-  SimpleDoc(..), renderPretty, renderCompact, displayDecorated, displayS, displayIO
+  SimpleDoc(..), renderPretty, renderCompact, displayDecorated, displayS, displayIO, displaySpans
 
   -- * Undocumented
 
@@ -830,6 +830,7 @@
      display (SAnnotStart _ x) = display x
      display (SAnnotStop x)    = display x
 
+-- | Generate a pair of a string and a list of source span/annotation pairs
 displaySpans :: SimpleDoc a -> (String, SpanList a)
 displaySpans sd = display 0 [] sd
   where display :: Int -> [(Int, a)] -> SimpleDoc a -> (String, SpanList a)
diff --git a/annotated-wl-pprint.cabal b/annotated-wl-pprint.cabal
--- a/annotated-wl-pprint.cabal
+++ b/annotated-wl-pprint.cabal
@@ -1,6 +1,6 @@
 Name:                annotated-wl-pprint
-Version:             0.5
-Cabal-Version:       >= 1.4
+Version:             0.5.1
+Cabal-Version:       >= 1.6
 Synopsis:            The Wadler/Leijen Pretty Printer, with annotation support
 Category:            Text
 Description:
@@ -12,9 +12,14 @@
 License-file:        LICENSE
 Author:              Daan Leijen, David Raymond Christiansen
 Maintainer:          david@davidchristiansen.dk
+Homepage:            https://github.com/david-christiansen/annotated-wl-pprint
 Build-Type:          Simple
 Library
         Build-Depends:       base < 5
         Exposed-Modules:     Text.PrettyPrint.Annotated.Leijen
         Extensions:          DeriveFunctor, OverlappingInstances
         Ghc-options:         -fwarn-incomplete-patterns
+Source-Repository head
+        type:        git
+        location:    https://github.com/david-christiansen/annotated-wl-pprint
+
