Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix anchors. Closes #308. | Mateusz Kowalczyk | 2014-06-25 | 1 | -1/+6 |
| | |||||
* | Fix rendering of Contents when links are present | Mateusz Kowalczyk | 2014-02-24 | 1 | -7/+18 |
| | | | | Fixes Haddock Trac #267. | ||||
* | Use a bespoke data type to indicate fixity | Mateusz Kowalczyk | 2014-02-19 | 1 | -2/+2 |
| | | | | | | This deals with what I imagine was an ancient TODO and makes it much clearer what the argument actually does rather than having the user chase down the comment. | ||||
* | Handle infix vs prefix names correctly everywhere, by explicitly specifying ↵ | Dr. ERDI Gergo | 2014-01-31 | 1 | -2/+2 |
| | | | | | | the context The basic idea is that "a" and "+" are either pretty-printed as "a" and "(+)" or "`a`" and "+" | ||||
* | Allow for headings inside function documentation. | Mateusz Kowalczyk | 2014-01-12 | 1 | -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 Kowalczyk | 2014-01-12 | 1 | -0/+1 |
| | | | | | | | Conflicts: src/Haddock/Backends/Hoogle.hs src/Haddock/Interface/Rename.hs src/Haddock/Parser.hs | ||||
* | One pass parser and tests. | Mateusz Kowalczyk | 2014-01-12 | 1 | -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 properties | Kazu Yamamoto | 2012-10-09 | 1 | -0/+1 |
| | |||||
* | Add an optional label to URLs | Simon Hengel | 2012-05-27 | 1 | -1/+2 |
| | |||||
* | Attach warnings to `Documentation` type | Simon Hengel | 2012-05-17 | 1 | -1/+1 |
| | |||||
* | newtype-wrap Doc nodes for things that may have warnings attached | Simon Hengel | 2012-05-17 | 1 | -5/+5 |
| | |||||
* | Add DocWarning to Doc | Simon Hengel | 2012-02-04 | 1 | -0/+1 |
| | | | | | The Xhtml backend has special markup for that, Hoogle and LaTeX reuse what we have for DocEmphasis. | ||||
* | Fix module reference bug. | David Waern | 2011-11-26 | 1 | -2/+1 |
| | |||||
* | Allow doc comments to link to out-of-scope things (#78). | David Waern | 2011-11-26 | 1 | -26/+27 |
| | | | | (A bug that should have been fixed long ago.) | ||||
* | Give preference to type over data constructors for doc comment links at ↵ | David Waern | 2011-11-26 | 1 | -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 police | David Waern | 2010-11-16 | 1 | -3/+3 |
| | |||||
* | Use "qual" as an abbreviation for qualification instead of "quali" for ↵ | David Waern | 2010-10-16 | 1 | -4/+4 |
| | | | | consistency | ||||
* | adding the option to fully qualify identifiers | Tobias Brandt | 2010-08-27 | 1 | -7/+7 |
| | |||||
* | Replace ghci> with >>> in example syntax | David Waern | 2010-09-01 | 1 | -1/+1 |
| | |||||
* | give a class to empty dd elements so they can be hidden | Mark Lentczner | 2010-07-27 | 1 | -2/+5 |
| | |||||
* | Style police in H.B.X.DocMarkup | David Waern | 2010-07-21 | 1 | -2/+5 |
| | |||||
* | Remove more trailing whitespace | David Waern | 2010-07-21 | 1 | -3/+3 |
| | |||||
* | rename Haddock.Backends.Xhtml.Util to Utils | Mark Lentczner | 2010-07-19 | 1 | -1/+1 |
| | |||||
* | refactoring of anchor ID and fragment handling | Mark Lentczner | 2010-07-19 | 1 | -1/+1 |
| | |||||
* | add .doc class to documentation blocks | Mark Lentczner | 2010-07-18 | 1 | -4/+15 |
| | |||||
* | changed tt elements to code elements | Mark Lentczner | 2010-06-11 | 1 | -2/+2 |
| | |||||
* | merge in changes from the big-whitespace cleanup | Mark Lentczner | 2010-05-24 | 1 | -2/+5 |
| | |||||
* | merge in markupExample changes | Mark Lentczner | 2010-04-12 | 1 | -2/+4 |
| | |||||
* | all decls now generate Html not HtmlTable | Mark Lentczner | 2010-04-04 | 1 | -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 code | Mark Lentczner | 2010-04-03 | 1 | -44/+37 |
| | | | | | - add CSS for lists - renderToString now uses showHtml since prettyHtml messes up <pre> sections | ||||
* | add exports to Xhtml modules | Mark Lentczner | 2010-03-21 | 1 | -0/+1 |
| | |||||
* | Position of module header, this time in the HTML backends | David Waern | 2010-05-13 | 1 | -1/+0 |
| | |||||
* | Add markup support for interactive examples | simon.hengel | 2010-04-02 | 1 | -1/+10 |
| | |||||
* | First, experimental XHTML rendering | Mark Lentczner | 2010-03-20 | 1 | -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) |