aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/fixtures/examples
Commit message (Collapse)AuthorAgeFilesLines
* Make a fixture of weird parsing of lists (#997)Oleg Grenrus2019-02-044-0/+47
| | | | | | | | | | | | The second example is interesting. If there's a list directly after the header, and that list has deeper structure, the parser is confused: It finds two lists: - One with the first nested element, - everything after it I'm not trying to fix this, as I'm not even sure this is a bug, and not a feature.
* Add fixture test for inline linksSimon Jakobi2018-03-142-0/+7
|
* Add fixture test for linksSimon Jakobi2018-03-142-0/+6
|
* Add fixture test for definition listsSimon Jakobi2018-03-142-0/+2
|
* Grid Tables (#718)Oleg Grenrus2018-02-0112-0/+366
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add simple framework for running parser fixtures (#668)Oleg Grenrus2018-02-018-0/+15
* Add simple framework for running parser fixtures * Compatible with tree-diff-0.0.0.1 * Use parseParas to parse fixtures This allows to test all syntactic constructs available in haddock markup.