aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/fixtures/examples
Commit message (Collapse)AuthorAgeFilesLines
* Update parsing to strip whitespace from table cells (#1074)Alina Banerjee2020-03-208-91/+95
| | | | | | | | | | * Update parsing to strip leading & trailing whitespace from table cells * Update fixture data to disallow whitespaces at both ends in table cells * Add test case for whitespaces stripped from both ends of table cells * Update table reference test data for html tests
* Merge branch 'ghc-8.6' into ghc-8.8Alec Theriault2019-03-034-0/+47
|\
| * 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.
* | Fix/add to haddock-library test suiteAlec Theriault2018-11-065-3/+13
|/
* 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.