aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not process boot modulesDavid Waern2009-01-061-26/+38
| | | | | | | | | | We should of course not try to produce documentation for boot modules! The reason this has worked in the past is that the output of "real" modules overwrites the output of boot modules later in the process. However, this causes a subtle link environment problem. So let's get rid of this stupid behaviour. We avoid processing boot modules, but we continue to typecheck them.
* Show re-exported names from external packages againDavid Waern2009-01-027-51/+89
| | | | | | | This fixes GHC ticket 2746. In order to also link to the exported subordinate names of a declaration, we need to re-introduce the sub map in the .haddock files.
* Wrap the GHC usage with defaultCleanupHandlerIan Lynagh2008-12-111-5/+6
| | | | This fixes a bug where haddock leaves /tmp/ghc* directories uncleaned.
* Make visible names from ExportItemsDavid Waern2008-12-084-69/+29
| | | | | | | | | | | | | | Instead of a complicated calculation of visible names out of GHC's export items, we can get them straight out of the already calculated ExportItems. The ExportItems should represent exactly those items that are visible in an interface. If store all the exported sub-names in ExportDecl instead of only those with documentation, the calculation becomes very simple. So we do this change as well (should perhaps have been a separate patch). This should fix the problem with names from ghc-prim not appearing in the link environment.
* Try and find a better package name than "main" for Hoogle, goes wrong when ↵Neil Mitchell2008-12-181-1/+2
| | | | working on an executable rather than a library
* Make forall's in constructors explicit, i.e. data Foo = Foo {foo :: Eq a => a}Neil Mitchell2008-12-151-2/+8
|
* Resolve conflict properlyDavid Waern2008-12-071-0/+1
|
* Remove -Wall, we'll focus on warnings after 6.10.2 is outDavid Waern2008-12-071-1/+1
|
* Remove -WerrorDavid Waern2008-12-071-3/+1
|
* TAG 2.4.1David Waern2008-11-060-0/+0
|
* TAG 2.4.0David Waern2008-11-040-0/+0
|
* Add -Wall -Werror to ghc-optionsDavid Waern2008-10-221-1/+3
|
* Solve conflictDavid Waern2008-12-071-1/+0
|
* Haddock really shouldn't try to overwrite files.Thomas Schilling2008-11-291-1/+1
|
* Update tests following anchor changeDavid Waern2008-11-2816-46/+338
|
* Allow referring to a specific section within a module in a module linkRoman Cheplyaka2008-11-271-1/+1
| | | | Fixes #65
* Drop HsDocTy annotations, they mess up pretty printing and also have a ↵Neil Mitchell2008-11-271-9/+29
| | | | bracketing bug (#2584)
* FIX #45: generate two anchors for each nameDavid Waern2008-11-2315-42/+328
| | | | | | We generate two anchor tags for each name, one where we don't escape the name and one where we URI-encode it. This is for compatibility between IE and Opera. Test output is updated.
* HADDOCK_DATA_DIR changed to haddock_datadirDavid Waern2008-11-231-3/+3
|
* Update tests to account for version number bumpDavid Waern2008-11-2333-33/+33
|
* Bump major version number due to .haddock file format changeDavid Waern2008-11-163-3/+3
|
* Store hidden modules in .haddock filesDavid Waern2008-11-153-20/+23
| | | | | | | | | | | | | We store documentation for an entity in the 'InstalledInterface' of the definition site module, and never in the same structure for a module which re-exports the entity. So when a client of the Haddock library wants to look up some documentation, he/she might need to access a hidden module. But we currently don't store hidden modules in the .haddock files. So we add the hidden modules and the Haddock options to the .haddock files. The options will be used to filter the module list to obtain the visible modules only, which is necessary for generating the contents and index for installed packages.
* Update testsDavid Waern2008-11-152-2/+2
| | | | For unknown reasons, test output for Bug1 and Test has changed for the better.
* Reflect version bump in test suiteDavid Waern2008-11-1533-33/+33
|
* Make DocName an instance of NamedThingDavid Waern2008-11-101-0/+7
|
* Export H.DocName in the libraryDavid Waern2008-11-101-1/+1
|
* Document the functions in H.DocNameDavid Waern2008-11-101-0/+2
|
* Export DocName in the libraryDavid Waern2008-11-102-1/+2
|
* Add Haddock.GHC.Utils to other-modules in libraryDavid Waern2008-11-091-0/+1
|
* Re-export NameCache and friends from Distribution.HaddockDavid Waern2008-11-091-0/+3
|
* Set HscTarget to HscNothing instead of HscAsmDavid Waern2008-11-081-1/+1
| | | | | There used to be a bug in the GHC API that prevented us from setting this value.
* Fix warnings in H.GHC.TypecheckDavid Waern2008-11-061-10/+4
|
* Fix warnings in H.InterfaceFile and H.OptionsDavid Waern2008-11-062-3/+4
|
* Fix warnings in Haddock.VersionDavid Waern2008-11-061-0/+1
|
* Fix warnings in Haddock.ModuleTreeDavid Waern2008-11-061-8/+7
|
* Fix warnings in H.B.HH and H.B.HH2David Waern2008-11-062-0/+2
|
* Depend on base 4.0.* instead of 4.*David Waern2008-11-061-1/+1
|
* Bump version to 2.4.1 and update CHANGESDavid Waern2008-11-064-3/+9
|
* Depend on base 4.* when using GHC >= 6.9, otherwise 3.*David Waern2008-11-061-1/+3
|
* WibbleDavid Waern2008-11-051-3/+1
|
* Update ANNOUNCEDavid Waern2008-11-051-6/+22
|
* Add ANNOUNCE messageDavid Waern2008-11-051-0/+73
|
* Output version info before running testsDavid Waern2008-11-041-0/+2
|
* Remove .ref files from tests/output/David Waern2008-11-0417-5805/+2
|
* Update CHANGESDavid Waern2008-11-041-4/+4
|
* Bump version numberDavid Waern2008-11-0436-36/+36
|
* Update CHANGESDavid Waern2008-11-041-0/+14
|
* Follow change to ExportDecl in frames codeDavid Waern2008-11-0450-16/+95
|
* Enable framed view of the HTML documentation.Thomas Schilling2008-10-246-9/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces: - A page that displays the documentation in a framed view. The left side will show a full module index. Clicking a module name will show it in the right frame. If Javascript is enabled, the left side is split again to show the modules at the top and a very short synopsis for the module currently displayed on the right. - Code to generate the mini-synopsis for each module and the mini module index ("index-frames.html"). - CSS rules for the mini-synopsis. - A very small amount of javascript to update the mini-synopsis (but only if inside a frame.) Some perhaps controversial things: - Sharing code was very difficult, so there is a small amount of code duplication. - The amount of generated pages has been doubled, since every module now also gets a mini-synopsis. The overhead should not be too much, but I haven't checked. Alternatively, the mini-synopsis could also be generated using Javascript if we properly annotate the actual synopsis.
* TAG 2.3.0David Waern2008-11-040-0/+0
|