Additional documentation markup and Unicode support http://www.mathstat.dal.ca/~selinger/superdoc/
|Latest on Hackage:||0.1.2.4|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
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
(2016/07/27) PS1 - loosened package dependencies to accommodate
older versions of ghc and base.
(2016/07/11) PS1 - updated package dependencies.
(2016/07/11) PS1 - updated Unicode armor so it doesn't clash with
Haddock's new boldface feature.
(2015/08/15) PS1 - relaxed package dependencies.
(2014/10/07) PS1 - updated dependencies to permit base 4.7 and
cabal >= 1.16.
(2014/02/12) PS1 - added new "center" tag, for centering.
(2013/12/14) PS1 - added a bootstrapping mode, so that Superdoc
can generate its own documentation when it is not yet installed.
Initial public release.