aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/Xhtml/DocMarkup.hs
Commit message (Collapse)AuthorAgeFilesLines
* Allow for headings inside function documentation.Mateusz Kowalczyk2014-01-121-1/+12
| | | | | | | | | | | | | LaTeX will treat the h3-h6 headings the same as we'd have to hack the style file heavily otherwise and it would make the headings tiny anyway. Hoogle upstream said they will put in the functionality on their end. Conflicts: src/Haddock/Interface/Rename.hs src/Haddock/Types.hs test/Haddock/ParserSpec.hs
* Support for bold.Mateusz Kowalczyk2014-01-121-0/+1
| | | | | | | Conflicts: src/Haddock/Backends/Hoogle.hs src/Haddock/Interface/Rename.hs src/Haddock/Parser.hs
* One pass parser and tests.Mateusz Kowalczyk2014-01-121-3/+4
| | | | | | | | We remove the HTML test as it is no longer necessary. We cover the test case in spec tests and other HTML tests but keeping this around fails: this is because the new parser has different semantics there. In fact, I suspect the original behaviour was a bug that wasn't caught/fixed but simply included as-is during the testing.
* Add markup support for propertiesKazu Yamamoto2012-10-091-0/+1
|
* Add an optional label to URLsSimon Hengel2012-05-271-1/+2
|
* Attach warnings to `Documentation` typeSimon Hengel2012-05-171-1/+1
|
* newtype-wrap Doc nodes for things that may have warnings attachedSimon Hengel2012-05-171-5/+5
|
* Add DocWarning to DocSimon Hengel2012-02-041-0/+1
| | | | | The Xhtml backend has special markup for that, Hoogle and LaTeX reuse what we have for DocEmphasis.
* Fix module reference bug.David Waern2011-11-261-2/+1
|
* Allow doc comments to link to out-of-scope things (#78).David Waern2011-11-261-26/+27
| | | | (A bug that should have been fixed long ago.)
* Give preference to type over data constructors for doc comment links at ↵David Waern2011-11-261-19/+6
| | | | | | | | | | | renaming time. Previously this was done in the backends. Also, warn when a doc comment refers to something that is in scope but which we don't have the .haddock file for. These changes mean we can make DocIdentifier [a] into DocIdentifier a.
* hlint policeDavid Waern2010-11-161-3/+3
|
* Use "qual" as an abbreviation for qualification instead of "quali" for ↵David Waern2010-10-161-4/+4
| | | | consistency
* adding the option to fully qualify identifiersTobias Brandt2010-08-271-7/+7
|
* Replace ghci> with >>> in example syntaxDavid Waern2010-09-011-1/+1
|
* give a class to empty dd elements so they can be hiddenMark Lentczner2010-07-271-2/+5
|
* Style police in H.B.X.DocMarkupDavid Waern2010-07-211-2/+5
|
* Remove more trailing whitespaceDavid Waern2010-07-211-3/+3
|
* rename Haddock.Backends.Xhtml.Util to UtilsMark Lentczner2010-07-191-1/+1
|
* refactoring of anchor ID and fragment handlingMark Lentczner2010-07-191-1/+1
|
* add .doc class to documentation blocksMark Lentczner2010-07-181-4/+15
|
* changed tt elements to code elementsMark Lentczner2010-06-111-2/+2
|
* merge in changes from the big-whitespace cleanupMark Lentczner2010-05-241-2/+5
|
* merge in markupExample changesMark Lentczner2010-04-121-2/+4
|
* all decls now generate Html not HtmlTableMark Lentczner2010-04-041-1/+2
| | | | | | | | | | | - ppDecl return Html, and so now do all of the functions it calls - added some internal tables to some decls, which is wrong, and will have to be fixed - decl "Box" functions became "Elem" functions to make clear they aren't in a table anymore (see Layout.hs) - docBox went away, as only used in one place (and its days are numbered) - cleaned up logic in a number of places, removed dead code - added maybeDocToHtml which simplified a number of places in the code
* clean up Doc formatting codeMark Lentczner2010-04-031-44/+37
| | | | | - add CSS for lists - renderToString now uses showHtml since prettyHtml messes up <pre> sections
* add exports to Xhtml modulesMark Lentczner2010-03-211-0/+1
|
* Position of module header, this time in the HTML backendsDavid Waern2010-05-131-1/+0
|
* Add markup support for interactive examplessimon.hengel2010-04-021-1/+10
|
* First, experimental XHTML renderingMark Lentczner2010-03-201-0/+99
switch to using the xhtml package copied Html.hs to Xhtml.hs and split into sub-modules under Haddock/Backends/Xhtml and detabify moved footer into div, got ready for iface change headers converted to semantic markup contents in semantic markup summary as semantic markup description in semantic markup, info block in header fixed factored out rendering so during debug it can be readable (see renderToString)