aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock
Commit message (Collapse)AuthorAgeFilesLines
* Changes due to ghc api changes in package representationDuncan Coutts2014-12-122-22/+9
| | | | | | | | | | Also fix a bug with finding the package name and version given a module. This had become wrong due to the package key changes (it was very hacky in the first place). We now look up the package key in the package db to get the package info properly. Conflicts: haddock-api/src/Haddock.hs
* Revert "Merge branch 'reverts'"Mateusz Kowalczyk2014-12-1212-52/+60
| | | | | | | | This reverts commit 5c93cc347773c7634321edd5f808d5b55b46301f, reversing changes made to 5b81a9e53894d2ae591ca0c6c96199632d39eb06. Conflicts: haddock-api/src/Haddock/Convert.hs
* header could contain several linesjpmoresmau2014-12-101-1/+1
| | | | Closes #348
* Allow the parser to spit out meta-infoMateusz Kowalczyk2014-12-1015-99/+138
| | | | | | | | | | | | | | | Currently we only use it only for ‘since’ annotations but with these patches it should be fairly simple to add new attributes if we wish to. Closes #26. It seems to work fine but due to 7.10 rush I don't have the chance to do more exhaustive testing right now. The way the meta is output (emphasis at the end of the whole comment) is fairly arbitrary and subject to bikeshedding. Note that this makes test for Bug310 fail due to interface version bump: it can't find the docs for base with this interface version so it fails. There is not much we can do to help this because it tests for ’built-in’ identifier, not something we can provide ourselves.
* Fix warningsMateusz Kowalczyk2014-11-043-6/+4
|
* Turn some uses of error into recoverable warningsMateusz Kowalczyk2014-11-043-106/+141
| | | | | | | This should at the very least not abort when something weird happens. It does feel like we should have a type that carries these errors until the end however as the user might not see them unless they are printed at the end.
* Fix re-exports of built-in type familiesMateusz Kowalczyk2014-11-041-4/+7
| | | | Fixes #310
* whitespace onlyMateusz Kowalczyk2014-11-041-9/+9
|
* Experimental support for collapsable headersMateusz Kowalczyk2014-10-294-29/+117
| | | | Closes #335
* Omit unnecessary foralls and fix #315Niklas Haas2014-08-241-21/+20
| | | | This also fixes #86.
* Fix extra whitespace on signatures and update all test casesNiklas Haas2014-08-241-2/+2
| | | | | This was long overdue, now running ./accept.lhs on a clean test from master will not generate a bunch of changes.
* Move sources under haddock-api/srcMateusz Kowalczyk2014-08-2327-0/+9267