The superdoc package
- From version 1.23 cabal supports specifiying explicit dependencies for Custom setup scripts. Consider using cabal-version >= 1.23 and adding a 'custom-setup' section with a 'setup-depends' field that specifies the dependencies of the Setup.hs script itself. The 'setup-depends' field uses the same syntax as 'build-depends', so a simple example would be 'setup-depends: base, Cabal'.
This package extends Cabal's documentation building capabilities. It extends the Haddock markup language with syntax for subscripts, superscripts, bold text, non-breaking spaces, and images. Moreover, it works around various bugs in Haddock's and HsColour's Unicode support, making it possible to use UTF8 encodings in both source code and documentation comments.
This package is designed to work transparently. It provides a custom main function that package maintainers can use in their Setup.hs file. In most cases, this is as simple as setting the build-type to Custom, adding superdoc to the package dependencies, and putting the following two lines into Setup.hs:
import Distribution.Superdoc main = superdocMain
For more information on the available markup, see Distribution.Superdoc.
|Versions||0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.1.2.2, 0.1.2.3, 0.1.2.4, 0.1.2.4|
|Dependencies||base (>=4.5 && <5), Cabal (>=1.16), containers (>=0.4), directory (>=1.1), filepath (>=1.3), superdoc [details]|
|Copyright||Copyright (c) 2013-2016 Peter Selinger|
|Uploaded||Wed Jul 27 14:20:12 UTC 2016 by PeterSelinger|
- superdoc-0.1.2.4.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees