aboutsummaryrefslogtreecommitdiff
path: root/haddock-library
Commit message (Collapse)AuthorAgeFilesLines
* Allow the parser to spit out meta-infoMateusz Kowalczyk2014-12-104-10/+59
| | | | | | | | | | | | | | | 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.
* List new module in cabal fileMateusz Kowalczyk2014-12-091-0/+1
|
* (wip) Add support for @since (closes #26)Simon Hengel2014-11-166-23/+82
|
* State intention rather than implementation details in Haddock commentSimon Hengel2014-11-161-1/+1
|
* newtype-wrap parser monadSimon Hengel2014-11-084-3/+131
|
* Minor code simplificationSimon Hengel2014-11-081-4/+3
|
* Fix parsing of identifiers written in infix wayMateusz Kowalczyk2014-11-042-11/+18
|
* Allow an optional colon after the closing bracket of definition listsSimon Hengel2014-11-032-16/+28
| | | | | This is to disambiguate them from markdown links and will be require with a future release.
* Add support for markdown imagesSimon Hengel2014-11-032-15/+21
|
* Allow markdown links at the beginning of a paragraphSimon Hengel2014-11-032-5/+43
|
* Add support for markdown links (closes #336)Simon Hengel2014-11-033-10/+69
|
* parser: Try to parse definition lists right before text paragraphsSimon Hengel2014-11-031-1/+1
|
* Minor refactoringSimon Hengel2014-11-031-22/+28
|
* Remove unused language extensionsSimon Hengel2014-11-032-5/+0
|
* Derive more instancesSimon Hengel2014-11-031-8/+1
|
* Get rid of StandaloneDerivingSimon Hengel2014-11-031-10/+3
|
* Remove -fobject-code from .ghciSimon Hengel2014-11-021-1/+1
| | | | (this slows down reloads on modifications)
* Bump haddock-library versionMateusz Kowalczyk2014-08-311-1/+1
|
* Fix warningSimon Hengel2014-08-201-0/+1
|
* Fix #313 by doing some list munging.Mateusz Kowalczyk2014-08-153-21/+37
| | | | | | I get rid of the Monoid instance because we weren't satisfying the laws. Convenience of having <> didn't outweigh the shock-factor of having it behave badly.
* Fix forgotten srcMateusz Kowalczyk2014-08-081-1/+1
|
* Update to attoparsec-0.12.1.1Mateusz Kowalczyk2014-08-0817-728/+979
| | | | There seems to be memory and speed improvement.
* Catch mid-line URLs. Fixes #314.Mateusz Kowalczyk2014-07-282-2/+6
|
* Bump haddock-library to 1.1.0 for releaseMateusz Kowalczyk2014-06-251-1/+1
|
* Don't mangle append order for nested lists.Mateusz Kowalczyk2014-06-252-22/+10
| | | | | | | | The benefit of this is that the ‘top-level’ element of such lists is properly wrapped in <p> tags so any CSS working with these will be applied properly. It also just makes more sense. Pointed out at jgm/pandoc#1346.
* Drop DocParagraph from front of headersMateusz Kowalczyk2014-06-252-6/+10
| | | | | I can not remember why they were wrapped in paragraphs to begin with and it seems unnecessary now that I test it. Closes #307.
* Fix anchors. Closes #308.Mateusz Kowalczyk2014-06-252-3/+21
|
* Update Travis, bump versionMateusz Kowalczyk2014-06-191-1/+1
|
* Fixed haddock warnings.John MacFarlane2014-06-181-6/+4
|
* Removed reliance on LambdaCase (which breaks build with ghc 7.4).John MacFarlane2014-06-181-3/+3
|
* Remove doctest dependencySimon Hengel2014-06-182-19/+0
| | | | (so that we can use haddock-library with doctest)
* Use doctest to check examples in documentationSimon Hengel2014-06-183-0/+22
|
* Comment improvements + few words in cabal fileMateusz Kowalczyk2014-06-182-11/+32
|
* haddock-library: Use -Wall for specsSimon Hengel2014-06-181-0/+2
|
* haddock-library: Do not depend on haddock-library in test suiteSimon Hengel2014-06-181-2/+0
| | | | | I think you either add src to hs-source-dirs or the library to build-depends. But doing both does not make sense (AFAICT).
* Compatibility with older versions of base and bytestringSimon Hengel2014-06-184-3/+21
|
* Update cabal filesMateusz Kowalczyk2014-06-181-2/+3
| | | | | Update repository urls, use subdir property for haddock-library and use a separate versioning scheme for haddock-library in preparation for release.
* Update issue tracker URL for haddock-libraryMateusz Kowalczyk2014-05-141-1/+1
|
* Move out Show and Eq instances to TypesMateusz Kowalczyk2014-05-052-8/+8
| | | | They are much more useful to the users here.
* Move parser + parser tests out to own package.Mateusz Kowalczyk2014-05-0522-0/+3686
We move some types out that are necessary as well and then re-export and specialise them in the core Haddock. Reason for moving out spec tests is that if we're working on the parser, we can simply work on that and we can ignore the rest of Haddock. The downside is that it's a little inconvenient if at the end of the day we want to see that everything passes.