Description

Render an abstract representation of documentation (as produced by parseGtkDoc) as Haddock formatted documentation.

Synopsis

# Documentation

Write the deprecation pragma for the given DeprecationInfo, if not Nothing.

Write the given documentation into generated code.

Where is the documentation located with respect to the relevant symbol, useful for determining whether we want to start with | or ^.

Constructors

 DocBeforeSymbol DocAfterSymbol

Like writeDocumentation, but allows us to pass explicitly the Haddock comment to write.

Write the documentation for the given argument.

Write the documentation for the given return value.

Add the given text to the documentation for the section being generated.