Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restore backward-compat with base-4.5 through base-4.8 | Herbert Valerio Riedel | 2018-03-10 | 2 | -2/+28 |
| | |||||
* | Remove bang pattern | Alec Theriault | 2018-03-02 | 1 | -3/+3 |
| | |||||
* | Support unicode operators, proper modules | Alec Theriault | 2018-03-02 | 2 | -24/+35 |
| | | | | | | | | Unicode operators are a pretty big thing in Haskell, so supporting linking them seems like it outweighs the cost of the extra machinery to force Attoparsec to look for unicode. Fixes #458. | ||||
* | Grid Tables (#718) | Oleg Grenrus | 2018-02-01 | 3 | -4/+216 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add table examples * Add table types and adopt simple parser Simple parser is done by Giovanni Cappellotto (@potomak) in https://github.com/haskell/haddock/pull/577 It seems to support single fine full tables, so far from full RST-grid tables, but it's good start. Table type support row- and colspans, but obviously parser is lacking. Still TODO: - Latex backend. Should we use multirow package https://ctan.org/pkg/multirow?lang=en? - Hoogle backend: ? * Implement grid-tables * Refactor table parser * Add two ill-examples * Update CHANGES.md * Basic documentation for tables * Fix documentation example | ||||
* | Take until line feed | alexbiehl | 2018-02-01 | 1 | -1/+1 |
| | |||||
* | Remove scanner, takeWhile1_ already takes care of escaping | alexbiehl | 2018-02-01 | 1 | -14/+1 |
| | |||||
* | Treat escaped \] better in definition lists (#717) | Alexander Biehl | 2018-02-01 | 1 | -1/+14 |
| | | | This fixes #546. | ||||
* | Refactoring: Make doc renaming monadic | alexbiehl | 2017-08-16 | 1 | -0/+3 |
| | | | | This allows us to later throw warnings if can't find an identifier | ||||
* | Bifoldable and Bitraversable for DocH and MetaDoc | alexbiehl | 2017-08-16 | 1 | -0/+61 |
| | |||||
* | Provide --show-interface option to dump interfaces (#645) | Alexander Biehl | 2017-08-06 | 1 | -1/+32 |
| | | | | | | | | | | | | | | | | | | | | | | * WIP: Provide --show-interface option to dump interfaces Like ghcs own --show-iface this flag dumps a binary interface file to stdout in a human (and machine) readable fashion. Currently it uses json as output format. * Fill all the jsonNull stubs * Rework Bifunctor instance of DocH, update changelog and documentation * replace changelog, bring DocMarkupH doc back * Update CHANGES.md * Update CHANGES.md * Move Control.Arrow up It would result in unused import if the Bifunctor instance is not generated. | ||||
* | Prepare haddock-library-1.4.5 release | alexbiehl | 2017-07-31 | 2 | -1/+13 |
| | |||||
* | Fixup haddock | Alexander Biehl | 2017-07-31 | 1 | -1/+1 |
| | |||||
* | Move `DocMarkup` from haddock-api to haddock-library (#659) | Alexander Biehl | 2017-07-31 | 2 | -0/+86 |
| | | | | | | | | | | * Move `DocMarkup` from haddock-api to haddock-library * Move more markup related functions * Markup module * CHANGELOG | ||||
* | Make haddock-library and haddock-api warning free (#626) | Alex Biehl | 2017-05-30 | 1 | -1/+3 |
| | |||||
* | Consequently use inClass and notInClass in haddock-library (#617) | Alex Biehl | 2017-05-13 | 2 | -11/+19 |
| | | | These allow attoparsec to do some clever lookup optimization | ||||
* | Make parser state a newtype | David Feuer | 2016-05-24 | 1 | -1/+1 |
| | | | | | | Previously, it was `data` wrapping a `Maybe`, which seems a bit silly. Obviously, this can be changed back if anyone wants to add more fields some day. | ||||
* | Fix the documentation for haddock itself. | Dominic Steinitz | 2015-12-21 | 2 | -9/+16 |
| | | | | | | | | | | | | | | | Change notation and add support for inline math. Allow newlines in display math. Add a command line option for the mathjax url (you might want to use a locally installed version). Rebase tests because of extra url and version change. Respond to (some of the) comments. Fix warnings in InterfaceFile.hs | ||||
* | Handle inline math with mathjax. | Dominic Steinitz | 2015-12-21 | 2 | -1/+16 |
| | |||||
* | Make nested lists count indentation according to first item. | Łukasz Hanuszczak | 2015-05-27 | 1 | -35/+46 |
| | |||||
* | Create simple method for indentation parsing. | Łukasz Hanuszczak | 2015-05-27 | 1 | -0/+9 |
| | |||||
* | Filter '\r' from comments due to Windows problems. | Vincent Berthoux | 2015-01-22 | 1 | -2/+3 |
| | | | | | On Windows this was causing newline to be rendered twice in code blocks. Closes #359, fixes #356. | ||||
* | Only keep one Version instead of blindly appending | Mateusz Kowalczyk | 2014-12-17 | 2 | -10/+17 |
| | |||||
* | Disambiguate string-literals | Herbert Valerio Riedel | 2014-12-12 | 1 | -4/+4 |
| | | | | | | | | GHC fails type-inference with `OverloadedStrings` + `Data.Foldable.elem` otherwise. Conflicts: haddock-library/src/Documentation/Haddock/Parser.hs | ||||
* | Update doctest parts of comments | Mateusz Kowalczyk | 2014-12-10 | 1 | -18/+22 |
| | |||||
* | Allow the parser to spit out meta-info | Mateusz Kowalczyk | 2014-12-10 | 3 | -3/+43 |
| | | | | | | | | | | | | | | | 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. | ||||
* | (wip) Add support for @since (closes #26) | Simon Hengel | 2014-11-16 | 3 | -12/+49 |
| | |||||
* | State intention rather than implementation details in Haddock comment | Simon Hengel | 2014-11-16 | 1 | -1/+1 |
| | |||||
* | newtype-wrap parser monad | Simon Hengel | 2014-11-08 | 3 | -2/+130 |
| | |||||
* | Minor code simplification | Simon Hengel | 2014-11-08 | 1 | -4/+3 |
| | |||||
* | Fix parsing of identifiers written in infix way | Mateusz Kowalczyk | 2014-11-04 | 1 | -11/+12 |
| | |||||
* | Allow an optional colon after the closing bracket of definition lists | Simon Hengel | 2014-11-03 | 1 | -1/+1 |
| | | | | | This is to disambiguate them from markdown links and will be require with a future release. | ||||
* | Add support for markdown images | Simon Hengel | 2014-11-03 | 1 | -2/+10 |
| | |||||
* | Allow markdown links at the beginning of a paragraph | Simon Hengel | 2014-11-03 | 1 | -2/+18 |
| | |||||
* | Add support for markdown links (closes #336) | Simon Hengel | 2014-11-03 | 2 | -10/+30 |
| | |||||
* | parser: Try to parse definition lists right before text paragraphs | Simon Hengel | 2014-11-03 | 1 | -1/+1 |
| | |||||
* | Minor refactoring | Simon Hengel | 2014-11-03 | 1 | -22/+28 |
| | |||||
* | Remove unused language extensions | Simon Hengel | 2014-11-03 | 1 | -4/+0 |
| | |||||
* | Derive more instances | Simon Hengel | 2014-11-03 | 1 | -8/+1 |
| | |||||
* | Get rid of StandaloneDeriving | Simon Hengel | 2014-11-03 | 1 | -10/+3 |
| | |||||
* | Fix #313 by doing some list munging. | Mateusz Kowalczyk | 2014-08-15 | 2 | -20/+18 |
| | | | | | | 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. | ||||
* | Catch mid-line URLs. Fixes #314. | Mateusz Kowalczyk | 2014-07-28 | 1 | -2/+2 |
| | |||||
* | Don't mangle append order for nested lists. | Mateusz Kowalczyk | 2014-06-25 | 1 | -14/+2 |
| | | | | | | | | 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 headers | Mateusz Kowalczyk | 2014-06-25 | 1 | -1/+6 |
| | | | | | 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 Kowalczyk | 2014-06-25 | 1 | -3/+8 |
| | |||||
* | Fixed haddock warnings. | John MacFarlane | 2014-06-18 | 1 | -6/+4 |
| | |||||
* | Removed reliance on LambdaCase (which breaks build with ghc 7.4). | John MacFarlane | 2014-06-18 | 1 | -3/+3 |
| | |||||
* | Use doctest to check examples in documentation | Simon Hengel | 2014-06-18 | 1 | -0/+3 |
| | |||||
* | Comment improvements + few words in cabal file | Mateusz Kowalczyk | 2014-06-18 | 1 | -9/+28 |
| | |||||
* | Compatibility with older versions of base and bytestring | Simon Hengel | 2014-06-18 | 2 | -2/+19 |
| | |||||
* | Move out Show and Eq instances to Types | Mateusz Kowalczyk | 2014-05-05 | 1 | -0/+6 |
| | | | | They are much more useful to the users here. |