aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src
Commit message (Collapse)AuthorAgeFilesLines
* Haddock.Types: More precise version guardBen Gamari2016-08-071-1/+1
| | | | This allows haddock to be built with GHC 8.0.2 pre-releases.
* Disable NFData instances for GHC types when GHC >= 8.0.2Simon Marlow2016-08-021-2/+6
| | | | (cherry picked from commit a3309e797c42dae9bccdeb17ce52fcababbaff8a)
* do not create empty src directorySebastian Meric de Bellefon2016-06-221-1/+1
| | | | Fix #536.
* Copyright holders shown on several lines. Fix #279Sebastian Meric de Bellefon2016-06-161-4/+14
|
* Merge pull request #504 from Helkafen/issue-280Sebastian Méric de Bellefon2016-05-281-1/+1
|\ | | | | Fix #280. Parsing of module header
| * Fix #280. Parsing of module headerSebastian Meric de Bellefon2016-05-151-1/+1
| | | | | | | | The initial newlines were counted as indentation spaces, thus disturbing the parsing of next lines
* | Remove misplaced haddock commentalexbiehl2016-05-261-1/+1
| |
* | Merge pull request #514 from Helkafen/framesSebastian Méric de Bellefon2016-05-252-49/+5
|\ \ | | | | | | remove framed view of the HTML documentation (see #114 and #274)
| * | remove framed view of the HTML documentation (see #114 and #274)Sebastian Meric de Bellefon2016-05-242-49/+5
| |/ | | | | | | | | 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.
* | Don't consider default class ops when looking for declsBen Gamari2016-05-221-2/+7
| | | | | | | | | | When we are looking for an operation within a class we don't care about `default`-type declarations. This was the cause of #505.
* | Create: Better debug outputBen Gamari2016-05-221-1/+4
| | | | | | | | For tracking down #505
* | Create: Remove redundant importsBen Gamari2016-05-221-2/+1
|/
* Create: Mark a comment as TODOBen Gamari2016-05-101-1/+1
|
* Remove unused functionsMatthew Pickering2016-04-162-37/+0
| | | | (cherry picked from commit b89d1c2456bdb2d4208d94ded56155f7088a37d0)
* 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)
* Fix printing of pattern synonym typesRik Steenkamp2016-04-041-3/+22
| | | | | | | | | | | | | Removes the call to `patSynType :: PatSyn -> Type` in `Convert.hs` as this function will be removed from GHC. Instead, we use the function `patSynSig` and build the `HsDecl` manually. This also fixes the printing of the two contexts and the quantified type variables in a pattern synonym type. Reviewers: goldfire, bgamari, mpickering Differential Revision: https://phabricator.haskell.org/D2048 (cherry picked from commit 3ddcbd6b8e6884bd95028381176eb33bee6896fb)
* Changes due to fix for GHC#11648.Richard Eisenberg2016-03-156-11/+17
| | | | (cherry picked from commit bb994de1ab0c76d1aaf1e39c54158db2526d31f1)
* Follow-on changes to support RuntimeRepRichard Eisenberg2016-03-131-5/+4
| | | | (cherry picked from commit ab954263a793d8ced734459d6194a5d89214b66c)
* 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
|
* Use -fprint-unicode-syntax when --use-unicode is enabledBen Gamari2016-02-081-4/+7
| | | | | This allows GHC to render `*` as its Unicode representation, among other things.
* 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).
* Merge pull request #477 from haskell/issue-475Ben Gamari2016-02-072-16/+17
|\ | | | | Make sure --mathjax affects all written HTML files
| * Make sure --mathjax affects all written HTML filesJoachim Breitner2016-01-192-16/+17
| | | | | | | | This fixes #475.
* | Render */# instead of TYPE 'Lifted/TYPE 'Unlifted (fixes #473)RyanGlScott2016-02-071-3/+14
|/
* deal with un-wiring of IP classEric Seidel2016-01-181-3/+3
| | | | (cherry picked from commit 17388b0f0029d969d79353be7737eb01c7b8dc5f)
* Update to match wip/T11430 in GHCAlan Zimmerman2016-01-161-1/+1
|
* Version bumps and changelogBen Gamari2016-01-061-1/+1
|
* Add missing importBen Gamari2015-12-261-0/+1
|
* Merge remote-tracking branch 'idontgetoutmuch/ghc-head' into ghc-headBen Gamari2015-12-2510-14/+57
|\
| * Fix the documentation for haddock itself.Dominic Steinitz2015-12-2110-17/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-217-0/+13
| |
* | Merge remote-tracking branch 'origin/ghc-head' into ghc-headBen Gamari2015-12-235-11/+5
|\ \
| * | Follow removal of NamedWildCard from HsTypeSimon Peyton Jones2015-12-223-6/+0
| | |
| * | Fix-up left-over assumptions of GHC 7.12 into GHC 8.0Herbert Valerio Riedel2015-12-211-1/+1
| | |
| * | Update for GHC trac#11258Alan Zimmerman2015-12-203-4/+4
| |/ | | | | | | Adding locations to RdrName in FieldOcc and AmbiguousFieldOcc
* | Merge remote-tracking branch 'phadej/orphans' into ghc-headBen Gamari2015-12-208-27/+90
|\ \
| * | 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
| | |
| * | Have source links for orphan instancesOleg Grenrus2015-09-282-13/+9
| | |
| * | Generate docs for orphan instancesOleg Grenrus2015-09-277-21/+76
| | |
* | | 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-164-9/+23
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Types: Add Outputable[Bndr] DocName instancesBen Gamari2015-12-161-0/+8
| |
* | Update for D1200Ben Gamari2015-12-162-4/+6
| |