aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Xhtml.hs
Commit message (Collapse)AuthorAgeFilesLines
* Annotate signature docs with (signature)Edward Z. Yang2017-03-231-2/+5
| | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> (cherry picked from commit 07b88c5d4e79b87a319fbb08f8ea01dbb41063c1)
* Render signature module tree separately from modules.Edward Z. Yang2017-03-231-1/+14
| | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> (cherry picked from commit 2067a2d0afa9cef381d26fb7140b67c62f433fc0)
* Merge branch 'ghc-head'Ben Gamari2017-03-101-1/+1
|\
| * Matching changes for GHC wip/T12942Alan Zimmerman2016-12-121-1/+1
| |
| * Matching changes for #12105Alan Zimmerman2016-05-291-1/+1
| |
* | Copyright holders shown on several lines. Fix #279Sebastian Meric de Bellefon2016-06-161-4/+14
| |
* | remove framed view of the HTML documentation (see #114 and #274)Sebastian Meric de Bellefon2016-05-241-39/+3
|/ | | | | Frames are a bit broken, ignored by Hackage, and considered obsolete in general. This patch disables frames generation. The mini_*.html files are still used in the synopsis.
* Make sure --mathjax affects all written HTML filesJoachim Breitner2016-01-191-15/+16
| | | | This fixes #475.
* Merge remote-tracking branch 'idontgetoutmuch/ghc-head' into ghc-headBen Gamari2015-12-251-10/+14
|\
| * Fix the documentation for haddock itself.Dominic Steinitz2015-12-211-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Steinitz2015-12-211-0/+1
| |
* | Merge remote-tracking branch 'phadej/orphans' into ghc-headBen Gamari2015-12-201-7/+16
|\ \ | |/ |/|
| * Add orphan instances link to contents boxOleg Grenrus2015-09-281-6/+12
| |
| * Print orphan instances header only if requiredOleg Grenrus2015-09-281-1/+1
| |
| * Generate docs for orphan instancesOleg Grenrus2015-09-271-1/+4
| |
* | More adaption to wildcard-refactorSimon Peyton Jones2015-12-141-1/+1
| |
* | s/PackageKey/UnitId/g and s/packageKey/unitId/gEdward Z. Yang2015-12-141-1/+1
|/ | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Fix typo in Haddock.Backends.Xhtml.Layout: divSynposis -> divSynopsisPhil Ruffwind2015-08-021-1/+1
| | | | Closes #408
* Change ModuleTree Node to carry PackageKey and SourcePackageId to resolve #385Murray Campbell2015-05-111-2/+2
| | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> (cherry picked from commit 2380f07c430c525b205ce2eae6dab23c8388d899)
* Remove now redundant importsMateusz Kowalczyk2015-03-261-1/+0
|
* Various fixups and bumps for next releaseMateusz Kowalczyk2014-12-121-3/+0
|
* Support for PartialTypeSignaturesThomas Winant2014-12-121-1/+1
| | | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs haddock-api/src/Haddock/Interface/Create.hs
* Remove overlapping pattern matchAustin Seipp2014-12-121-1/+0
| | | | Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Properly render package ID (not package key) in index, fixes #329.Edward Z. Yang2014-12-121-6/+8
| | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Conflicts: haddock-api/src/Haddock/ModuleTree.hs
* Revert "Merge branch 'reverts'"Mateusz Kowalczyk2014-12-121-1/+1
| | | | | | | | This reverts commit 5c93cc347773c7634321edd5f808d5b55b46301f, reversing changes made to 5b81a9e53894d2ae591ca0c6c96199632d39eb06. Conflicts: haddock-api/src/Haddock/Convert.hs
* Allow the parser to spit out meta-infoMateusz Kowalczyk2014-12-101-6/+6
| | | | | | | | | | | | | | | 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.
* Experimental support for collapsable headersMateusz Kowalczyk2014-10-291-9/+8
| | | | Closes #335
* Move sources under haddock-api/srcMateusz Kowalczyk2014-08-231-0/+690