aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/Xhtml
Commit message (Collapse)AuthorAgeFilesLines
* Attach warnings to `Documentation` typeSimon Hengel2012-05-172-3/+3
|
* newtype-wrap Doc nodes for things that may have warnings attachedSimon Hengel2012-05-172-21/+21
|
* Use >>= instead of fmap and joinSimon Hengel2012-05-171-4/+2
|
* qualification style 'abbreviated' -> 'aliased'Henning Thielemann2012-04-021-3/+3
|
* abbreviated qualification: use Packages.lookupModuleInAllPackages for ↵Henning Thielemann2012-04-021-1/+1
| | | | finding the package that a module belongs to
* 'abbreviate' qualification style - basic supportHenning Thielemann2012-04-011-6/+16
| | | | | Currently we ignore the package a module is imported from. This means that a module import would shadow another one with the same module name from a different package.
* add QualOption type for distinction between qualification argument given by ↵Henning Thielemann2012-04-011-6/+2
| | | | | the user and the actual qualification for a concrete module
* Fix crash when using --qual. Naughty GHC API!David Waern2012-04-011-1/+4
|
* Mostly hlint-inspired cleanup.David Waern2012-02-042-36/+33
|
* Remove code for older ghc versions.David Waern2012-02-041-4/+0
|
* Style police.David Waern2012-02-041-2/+2
|
* Merge branch 'fix-for-186' of https://github.com/sol/haddock into ghc-7.4David Waern2012-02-042-10/+10
|\
| * Make sure that generated xhtml is valid (close #186)Simon Hengel2012-01-122-10/+10
| | | | | | | | Thanks to Phyx.
* | Remove obsolete TODOSimon Hengel2012-02-041-1/+0
| |
* | Add DocWarning to DocSimon Hengel2012-02-041-0/+1
|/ | | | | The Xhtml backend has special markup for that, Hoogle and LaTeX reuse what we have for DocEmphasis.
* Fix module reference bug.David Waern2011-11-262-5/+4
|
* Allow doc comments to link to out-of-scope things (#78).David Waern2011-11-262-27/+40
| | | | (A bug that should have been fixed long ago.)
* Give preference to type over data constructors for doc comment links at ↵David Waern2011-11-261-19/+6
| | | | | | | | | | | renaming time. Previously this was done in the backends. Also, warn when a doc comment refers to something that is in scope but which we don't have the .haddock file for. These changes mean we can make DocIdentifier [a] into DocIdentifier a.
* Follow changes to tuple sorts in masterJose Pedro Magalhaes2011-11-161-2/+2
|
* New kind-polymorphic coreJose Pedro Magalhaes2011-11-111-12/+15
| | | | | | | | | This big patch implements a kind-polymorphic core for GHC. The current implementation focuses on making sure that all kind-monomorphic programs still work in the new core; it is not yet guaranteed that kind-polymorphic programs (using the new -XPolyKinds flag) will work. For more information, see http://haskell.org/haskellwiki/GHC/Kinds
* Follow changes to ForeignImport/ForeignExport in GHCIan Lynagh2011-10-011-1/+1
|
* Merge branch 'no-pred-ty'Max Bolingbroke2011-09-091-18/+14
|\ | | | | | | | | Conflicts: src/Haddock/Convert.hs
| * Adapt Haddock for the ConstraintKind extension changesMax Bolingbroke2011-09-061-18/+14
| |
* | Ignore associated type defaults (just as we ignore default methods)Max Bolingbroke2011-09-091-2/+2
|/
* Fix buildIan Lynagh2011-06-173-4/+11
|
* * Merge in git patch from Michal TerepetaDavid Waern2011-06-112-35/+50
| | | | | | | | | | | | | | | | From 6fc71d067738ef4b7de159327bb6dc3d0596be29 Mon Sep 17 00:00:00 2001 From: Michal Terepeta <michal.terepeta@gmail.com> Date: Sat, 14 May 2011 19:18:22 +0200 Subject: [PATCH] Follow the change of TypeSig in GHC. This follows the change in GHC to make TypeSig take a list of names (instead of just one); GHC ticket #1595. This should also improve the Haddock output in case the user writes a type signature that refers to many names: -- | Some comment.. foo, bar :: ... will now generate the expected output with one signature for both names.
* Add git commits since switchover:David Waern2011-06-101-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | darcs format (followed by a conflict resolution): commit 6f92cdd12d1354dfbd80f8323ca333bea700896a Merge: f420cc4 28df3a1 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Thu May 19 17:54:34 2011 +0100 Merge remote branch 'origin/master' into ghc-generics commit 28df3a119f770fdfe85c687dd73d5f6712b8e7d0 Author: Max Bolingbroke <batterseapower@hotmail.com> Date: Sat May 14 22:37:02 2011 +0100 Unicode fix for getExecDir on Windows commit 89813e729be8bce26765b95419a171a7826f6d70 Merge: 6df3a04 797ab27 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Mon May 9 11:55:17 2011 +0100 Merge branch 'ghc-new-co' commit 6df3a040da3dbddee67c6e30a892f87e6b164383 Author: Ian Lynagh <igloo@earth.li> Date: Sun May 8 17:05:50 2011 +0100 Follow changes in SDoc commit f420cc48b9259f0b1afd2438b12f9a2bde57053d Author: Jose Pedro Magalhaes <jpm@cs.uu.nl> Date: Wed May 4 17:31:52 2011 +0200 Adapt haddock to the removal of HsNumTy and TypePat. commit 797ab27bdccf39c73ccad374fea265f124cb52ea Merge: 1d81436 5a91450 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Mon May 2 12:05:03 2011 +0100 Merge remote branch 'origin/master' into ghc-new-co commit 1d8143659a81cf9611668348e33fd0775c7ab1d2 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Mon May 2 12:03:46 2011 +0100 Wibbles for ghc-new-co branch commit 5a91450e2ea5a93c70bd3904b022445c9cc82488 Author: Ian Lynagh <igloo@earth.li> Date: Fri Apr 22 00:51:56 2011 +0100 Follow defaultDynFlags change in GHC
* Add a flag --pretty-html for rendering indented html with newlinesDavid Waern2010-12-061-3/+4
|
* Re-order functionsDavid Waern2010-11-201-8/+8
|
* Re-structure qualification code a littleDavid Waern2010-11-201-20/+19
|
* add full qualification for undocumented namestob.brandt2010-11-201-3/+2
|
* hlint policeDavid Waern2010-11-165-17/+18
|
* Remove docNameOcc under the motto "don't name compositions"David Waern2010-11-151-8/+8
|
* Fix bad mergeDavid Waern2010-11-151-1/+1
|
* Remove code for ghc < 7David Waern2010-11-151-13/+0
|
* Solve conflictDavid Waern2010-11-141-1/+2
|
* Adapt to minor changes in internal GHC functionssimonpj2010-09-131-1/+1
|
* Style policeDavid Waern2010-10-161-0/+4
|
* Use "qual" as an abbreviation for qualification instead of "quali" for ↵David Waern2010-10-164-165/+165
| | | | consistency
* Solve conflictsDavid Waern2010-10-161-1/+2
|
* adding support for local and relative name qualificationTobias Brandt2010-08-271-7/+32
|
* adding the option to fully qualify identifiersTobias Brandt2010-08-274-223/+253
|
* make TOC group header identifiers validateMark Lentczner2010-09-041-0/+5
|
* Replace ghci> with >>> in example syntaxDavid Waern2010-09-011-1/+1
|
* Add source entity path to --read-interfaceDavid Waern2010-08-292-5/+11
| | | | | | | | | | | | | You can now use this flag like this: --read-interface=<html path>,<source entity path>,<.haddock file> By "source entity path" I mean the same thing that is specified with the --source-entity flag. The purpose of this is to be able to specify the source entity path per package, to allow source links to work in the presence of cross-package documentation. When given two arguments or less the --read-interface flag behaves as before.
* Whitespace policeDavid Waern2010-08-281-1/+1
|
* clean up collapser logicsMark Lentczner2010-08-173-23/+32
| | | | | | | | javascript code for collapasble sections cleaned up rewrote class utilities in javascript to be more robust refactored utilities for generating collapsable sections made toc be same color as synopsis module list has needed clear attribute in CSS
* build style menu in javascriptMark Lentczner2010-08-142-28/+2
| | | | | | | | moved to javascript, so as to not polute the content with the style menu removed menu building code in Themes.hs removed onclick in Utils.hs changed text of button in header from "Source code" to "Source" more consistent with links in rest of page
* styling tweaksMark Lentczner2010-07-291-4/+4
| | | | | | | | don't generate an empty li for absent style menu in links area update css for Classic and Snappy to handle: dl lists links in package header and in declarations floating of links and info block in package and module headers
* give a class to empty dd elements so they can be hiddenMark Lentczner2010-07-273-12/+14
|