aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends
Commit message (Collapse)AuthorAgeFilesLines
* Ensure expanded family instances render correctlyRyanGlScott2016-04-162-3/+4
| | | | (cherry picked from commit 1338b5d7c32939de6bbc31af0049477e4f847103)
* Collapse type/data family instances by defaultRyanGlScott2016-04-162-10/+23
| | | | (cherry picked from commit 2da130a8db8f995c119b544fad807533236cf088)
* Changes due to fix for GHC#11648.Richard Eisenberg2016-03-153-4/+4
| | | | (cherry picked from commit bb994de1ab0c76d1aaf1e39c54158db2526d31f1)
* Xhtml.Decl: Show 'where ...' after closed type familyBen Gamari2016-02-181-0/+5
| | | | | Seems like we should ideally show the actual equations as well but that seems like it would be a fair amount of work
* Xhtml.Decl: Show kind signatures for type family variablesBen Gamari2016-02-181-4/+11
| | | | Addresses GHC #11588.
* Xhtml.Decl: Various cleanupsBen Gamari2016-02-181-5/+6
|
* Move the permalinks to "#" on the right sidePhil Ruffwind2016-02-083-8/+11
| | | | | | | | | Since pull request #407, the identifiers have been permalinked to themselves, but this makes it difficult to copy the identifier by double-clicking. To work around this usability problem, the permalinks are now placed on the far right adjacent to "Source", indicated by "#". Also, 'namedAnchor' now uses 'id' instead of 'name' (which is obsolete).
* Make sure --mathjax affects all written HTML filesJoachim Breitner2016-01-191-15/+16
| | | | This fixes #475.
* Update to match wip/T11430 in GHCAlan Zimmerman2016-01-161-1/+1
|
* Merge remote-tracking branch 'idontgetoutmuch/ghc-head' into ghc-headBen Gamari2015-12-254-10/+25
|\
| * Fix the documentation for haddock itself.Dominic Steinitz2015-12-214-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-214-0/+8
| |
* | Merge remote-tracking branch 'origin/ghc-head' into ghc-headBen Gamari2015-12-232-8/+3
|\ \
| * | Follow removal of NamedWildCard from HsTypeSimon Peyton Jones2015-12-222-5/+0
| | |
| * | Update for GHC trac#11258Alan Zimmerman2015-12-202-3/+3
| |/ | | | | | | Adding locations to RdrName in FieldOcc and AmbiguousFieldOcc
* | Merge remote-tracking branch 'phadej/orphans' into ghc-headBen Gamari2015-12-203-16/+54
|\ \
| * | Fix orphan instance collapsingOleg Grenrus2015-09-281-7/+11
| | |
| * | Add orphan instances link to contents boxOleg Grenrus2015-09-281-6/+12
| | |
| * | Print orphan instances header only if requiredOleg Grenrus2015-09-282-2/+3
| | |
| * | Generate docs for orphan instancesOleg Grenrus2015-09-273-4/+31
| | |
* | | Merge remote-tracking branch 'mrhania/testing-framework-improvements' into ↵Ben Gamari2015-12-201-0/+3
|\ \ \ | |_|/ |/| | | | | ghc-head
| * | Make Hoogle backend create output directory if needed.Łukasz Hanuszczak2015-08-221-0/+3
| |/
* | Fix HyperlinkerBen Gamari2015-12-161-1/+1
| | | | | | | | GHC.con_names is now GHC.getConNames
* | Fix fallout from wildcards refactoringBen Gamari2015-12-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | The wildcard refactoring was introduced a new type of signature, `ClassOpSig`, which is carried by typeclasses. The original patch adapting Haddock for this change missed a few places where this constructor needed to be handled, resulting in no class methods in documentation produced by Haddock. Additionally, this moves and renames the `isVanillaLSig` helper from GHC's HsBinds module into GhcUtils, since it is only used by Haddock.
* | WarningsMatthew Pickering2015-12-144-13/+2
| |
* | Changes to compile with 8.0Matthew Pickering2015-12-143-25/+33
| |
* | Update for type=kindsRichard Eisenberg2015-12-143-13/+12
| |
* | Placeholder for record style GADT declarationAlan Zimmerman2015-12-141-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A GADT Declaration is now presented as CmmCondBranch :: {..} -> CmmNode O C cml_pred :: CmmExpr cml_true, cml_false :: !Label cml_likely :: Maybe Bool for CmmCondBranch :: { -- conditional branch cml_pred :: CmmExpr, cml_true, cml_false :: ULabel, cml_likely :: Maybe Bool -- likely result of the conditional, -- if known } -> CmmNode O C
* | Matching changes for #11028Alan Zimmerman2015-12-143-87/+119
| |
* | Update to match GHC wip/T11019Alan Zimmerman2015-12-143-7/+7
| |
* | Matching change GHC #11017 BooleanFormula locatedAlan Zimmerman2015-12-141-5/+6
| |
* | More adaption to wildcard-refactorSimon Peyton Jones2015-12-143-81/+85
| |
* | Work on updating Haddock to wip/spj-wildard-recactorSimon Peyton Jones2015-12-142-98/+62
| | | | | | | | Still incomplete
* | Follow changes to HsTYpeSimon Peyton Jones2015-12-141-22/+13
| | | | | | | | Not yet complete (but on a wip/ branch)
* | Track wip/spj-wildcard-refactor on main repoSimon Peyton Jones2015-12-141-21/+12
| |
* | Roughly fix up haddock for DuplicateRecordFields changesAdam Gundry2015-12-143-10/+16
| | | | | | | | | | This compiles, but will probably need more work to produce good documentation when the DuplicateRecordFields extension is used.
* | s/PackageKey/UnitId/g and s/packageKey/unitId/gEdward Z. Yang2015-12-143-3/+3
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | Follow changes from #6018Jan Stolarek2015-12-141-5/+37
| |
* | HsBang is split into HsSrcBang and HsImplBangAdam Sandberg Eriksson2015-12-142-6/+2
| | | | | | | | | | With recent changes in GHC handling of strictness annotations in Haddock is simplified.
* | StrictData: changes in HsBang typeAdam Sandberg Eriksson2015-12-142-10/+10
| |
* | StrictData: print correct strictness marksAdam Sandberg Eriksson2015-12-142-5/+10
| |
* | Update after wild card renaming refactoring in D613Thomas Winant2015-12-142-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: * Move `Post*` type instances to `Haddock.Types` as other modules than `Haddock.Interface.Rename` will rely on these type instances. * Update after wild card renaming refactoring in D613. Reviewers: simonpj, austin Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D954 GHC Trac Issues: #10098
* | Track API changes to support empty closed type familesAdam Gundry2015-12-141-2/+2
| |
* | Track changes in HsSyn for quasi-quotesSimon Peyton Jones2015-12-142-2/+0
|/
* Fix weird-looking Hoogle output for familyless classes.Łukasz Hanuszczak2015-08-211-5/+7
|
* Improve formatting of class details output in Hoogle backend.Łukasz Hanuszczak2015-08-211-6/+9
|
* Add missing default family equations in Hoogle output.Łukasz Hanuszczak2015-08-211-1/+13
|
* Improve class type family declarations output in Hoogle backend.Łukasz Hanuszczak2015-08-211-5/+20
|
* Fix bug with incorrect fixities being generated in Hoogle backend.Łukasz Hanuszczak2015-08-211-4/+5
|
* Add fixity declarations in Hoogle backend output.Łukasz Hanuszczak2015-08-211-1/+7
|