aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock
Commit message (Collapse)AuthorAgeFilesLines
* Add support for hyperlink labels to parserSimon Hengel2012-05-272-2/+11
|
* Add an optional label to URLsSimon Hengel2012-05-279-17/+37
|
* Use a map for warnings, as suggested by @waernSimon Hengel2012-05-261-23/+20
|
* Add Applicative instance for (GenRnM a)Simon Hengel2012-05-261-2/+6
|
* Simplify lookupWarningSimon Hengel2012-05-171-6/+8
|
* Attach warnings to `Documentation` typeSimon Hengel2012-05-178-53/+56
|
* newtype-wrap Doc nodes for things that may have warnings attachedSimon Hengel2012-05-178-85/+89
|
* Use >>= instead of fmap and joinSimon Hengel2012-05-172-7/+4
|
* Merge http://code.haskell.org/~thielema/haddock/ into ghc-7.4David Waern2012-05-165-27/+48
|\
| * qualification style 'abbreviated' -> 'aliased'Henning Thielemann2012-04-025-22/+22
| |
| * abbreviated qualification: use Packages.lookupModuleInAllPackages for ↵Henning Thielemann2012-04-023-12/+33
| | | | | | | | finding the package that a module belongs to
* | Merge branch 'ghc-7.4' of http://darcs.haskell.org/haddock into ghc-7.4David Waern2012-05-152-5/+6
|\ \ | |/ |/|
| * Fix reporting of modules safe haskell mode (#5989)David Terei2012-04-062-5/+6
| |
| * Merge http://code.haskell.org/~thielema/haddock/ into ghc-7.4David Waern2012-04-014-25/+42
| |\
* | | 'abbreviate' qualification style - basic supportHenning Thielemann2012-04-015-28/+67
| | | | | | | | | | | | | | | Currently we ignore the package a module is imported from. This means that a module import would shadow another one with the same module name from a different package.
* | | Merge branch 'ghc-7.4' of http://darcs.haskell.org/haddock into ghc-7.4Henning Thielemann2012-04-011-1/+2
|\| | | |/ |/|
| * Don't crash on unicode strings in doc comments.David Waern2012-04-011-1/+2
| |
* | emit an error message when the --qual option is used incorrectlyHenning Thielemann2012-04-011-5/+8
| |
* | add QualOption type for distinction between qualification argument given by ↵Henning Thielemann2012-04-014-25/+39
|/ | | | | the user and the actual qualification for a concrete module
* Fix crash when using --qual. Naughty GHC API!David Waern2012-04-011-1/+4
|
* Don't filter out unexported names from the four maps - fixes a regression.David Waern2012-04-011-5/+4
|
* Cleanup.David Waern2012-04-011-12/+1
|
* Take reader environment directly from TypecheckedSource.David Waern2012-04-011-3/+11
|
* Mostly hlint-inspired cleanup.David Waern2012-02-0410-88/+86
|
* Clean up some code from last SoC project.David Waern2012-02-043-76/+78
|
* Remove code for older ghc versions.David Waern2012-02-041-4/+0
|
* Use <> instead of mappend.David Waern2012-02-041-3/+3
|
* Style police.David Waern2012-02-041-2/+2
|
* Merge branch 'fix-for-186' of https://github.com/sol/haddock into ghc-7.4David Waern2012-02-043-11/+11
|\
| * Make sure that generated xhtml is valid (close #186)Simon Hengel2012-01-123-11/+11
| | | | | | | | Thanks to Phyx.
* | Some cleanup and make sure we filter warnings through exports.David Waern2012-02-041-33/+47
| |
* | Fix issues in support for warnings.David Waern2012-02-041-24/+9
| | | | | | | | | | * Match against local names only. * Simplify (it's OK to map over the warnings).
* | Remove obsolete TODOSimon Hengel2012-02-041-1/+0
| |
* | Expand type signatures for modules without explicit export listSimon Hengel2012-02-041-1/+14
| |
* | Expand type signatures in export list (fixes #192)Simon Hengel2012-02-041-14/+5
| |
* | Add support for warningsSimon Hengel2012-02-041-2/+25
| |
* | Add support for module warningsSimon Hengel2012-02-041-1/+20
| |
* | Add DocWarning to DocSimon Hengel2012-02-048-4/+21
| | | | | | | | | | The Xhtml backend has special markup for that, Hoogle and LaTeX reuse what we have for DocEmphasis.
* | Cleanup mkMaps and avoid quadratic behaviour.David Waern2012-02-011-28/+29
| |
* | Fix bug introduced in my recent refactoring.David Waern2012-02-011-16/+18
|/
* Minor fixes and cleanup.David Waern2011-12-282-61/+60
|
* Complete support for inferring types for top-level bindings.David Waern2011-12-271-32/+44
|
* Wibbles.David Waern2011-12-271-24/+23
|
* Cleanup.David Waern2011-12-271-39/+12
|
* Get rid of quite unnecessary use of different lists.David Waern2011-12-271-33/+14
|
* Merge ../../../haddockDavid Waern2011-12-277-349/+252
|\ | | | | | | | | Conflicts: src/Haddock/InterfaceFile.hs
| * Go back to having a doc, sub and decl map instead of one big decl map.David Waern2011-12-276-155/+149
| | | | | | | | | | | | | | | | | | This setup makes more sense since when we add value bindings to the processed declarations (for type inference), we will have multiple declarations which should share documentation. Also, we already have a separate doc map for instances which we can now merge into the main doc map. Another benefit is that we don't need the DeclInfo type any longer.
| * More cleanup.David Waern2011-12-032-65/+25
| |
| * Cleanup.David Waern2011-12-031-27/+11
| |
| * Slightly better behaviour on top-levels without type signatures.David Waern2011-12-033-129/+94
| | | | | | | | | | | | | | | | - Docs don't get attached to the next top-level with signature by mistake. - If there's an export list and the top-level is part of it, its doc comment shows up in the documentation.