aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant importIan Lynagh2010-05-061-1/+0
|
* Fix buildIan Lynagh2010-05-062-7/+6
|
* Fix #112David Waern2010-04-106-52/+58
| | | | | | | | No link was generated for 'Addr#' in a doc comment. The reason was simply that the identifier didn't parse. We were using parseIdentifier from the GHC API, with a parser state built from 'defaultDynFlags'. If we pass the dynflags of the module instead, the right options are turned on on while parsing the identifer (in this case -XMagicHash), and the parse succeeds.
* Improve function nameDavid Waern2010-04-081-2/+2
|
* Let parsing fails on paragraphs that are immediately followed by ansimon.hengel2010-04-081-0/+1
| | | | | | example This is more consistent with the way we treat code blocks.
* Fix #118David Waern2010-04-081-3/+3
| | | | | Avoid being too greedy when lexing URL markup (<..>), in order to allow multiple URLs on the same line. Do the same thing with <<..>> and #..#.
* Fix #75David Waern2010-04-071-1/+1
| | | | Add colons to the $ident character set.
* Propagate source positions from Lex.x to Parse.yDavid Waern2010-04-074-43/+50
|
* Add markup support for interactive examplessimon.hengel2010-04-0210-6/+109
|
* Fix build with GHC 6.12david.waern2010-03-291-0/+4
|
* Follow LazyUniqFM->UniqFM in GHCIan Lynagh2010-03-201-1/+1
|
* apply changes to Html.hs to Xhtml/*.hsMark Lentczner2010-03-201-5/+15
| | | | | | incorporate changes that were made between the time Html.hs was copied and split into Xhtml.hs and Xhtml/*.hs includes patchs after "Wibble" (!) through "Fix build with GHC 6.12.1"
* First, experimental XHTML renderingMark Lentczner2010-03-208-0/+2161
| | | | | | | | | | | | | | | | | | switch to using the xhtml package copied Html.hs to Xhtml.hs and split into sub-modules under Haddock/Backends/Xhtml and detabify moved footer into div, got ready for iface change headers converted to semantic markup contents in semantic markup summary as semantic markup description in semantic markup, info block in header fixed factored out rendering so during debug it can be readable (see renderToString)
* Fix build with GHC 6.12.1david.waern2010-03-184-10/+35
|
* Track change in HsUtils; and use a nicer function not an internal onesimonpj2010-03-041-2/+2
|
* Resolve conflictsIan Lynagh2010-02-201-4/+2
|
* Track changes in HsTyVarBndrsimonpj2010-02-103-6/+5
|
* Update Haddock for quasiquotessimonpj2010-02-101-1/+2
|
* Fix imports for new location of splitKindFunTyssimonpj2010-01-041-1/+1
|
* Remove unused ifaceLocalsdavid.waern2010-02-242-5/+0
|
* Large additions to the Haddock APIdavid.waern2010-02-242-53/+50
| | | | Also improved and added more doc comments.
* Fix Haddock markup error in commentdavid.waern2010-02-221-1/+1
|
* Do not generate illegal character in HTML ID attribute.Yitzchak Gale2010-02-141-1/+1
|
* Put parenthesis around type signature arguments of function typeDavid Waern2010-01-221-3/+5
|
* fix html arg-doc off-by-one and sillinessIsaac Dupree2010-01-141-1/+6
|
* Follow move of parser and lexerDavid Waern2010-01-221-4/+4
|
* Remove unnecessary (and inexplicable) uses of nubDavid Waern2010-01-221-2/+2
|
* Improve doc of DocNameDavid Waern2009-12-211-2/+3
|
* Move H.Interface.Parse/Lex to H.Parse/LexDavid Waern2009-11-283-13/+11
| | | | These are not just used to build Interfaces.
* Rename HsDoc back into DocDavid Waern2009-11-2813-89/+88
|
* Add an Arbitrary instance for HsDocDavid Waern2009-11-281-0/+25
|
* Remove unused H.Utils.FastMutInt2David Waern2009-11-281-62/+0
|
* Add a documentation header to Haddock.ConvertDavid Waern2009-11-281-3/+13
|
* Remove cruft due to compatibility with older GHCsDavid Waern2009-11-2810-111/+16
|
* Remove Name from DocInstanceDavid Waern2009-11-284-6/+5
| | | | It's not used.
* Whitespace policeDavid Waern2009-11-271-8/+8
|
* Whitespace policeDavid Waern2009-11-271-17/+17
|
* Remove bad whitespace and commented-out piecesDavid Waern2009-11-271-65/+61
|
* Comments on instancesDavid Waern2009-11-246-46/+110
| | | | | | | | | | | | | | | Implementing this was a little trickier than I thought, since we need to match up instances from the renamed syntax with instances represented by InstEnv.Instance. This is due to the current design of Haddock, which matches comments with declarations from the renamed syntax, while getting the list of instances of a class/family directly using the GHC API. - Works for class instances only (Haddock has no support for type family instances yet) - The comments are rendered to the right of the instance head in the HTML output - No change to the .haddock file format - Works for normal user-written instances only. No comments are added on derived or TH-generated instances
* Remove commented-out codeDavid Waern2009-11-151-8/+0
|
* Use defaultObjectTarget rather than HscAsmIan Lynagh2009-11-201-3/+3
| | | | This fixes haddock when we don't have a native code generator
* hlint policeDavid Waern2009-11-146-19/+18
|
* Track change in HsType for the right compiler versionDavid Waern2009-11-141-1/+1
|
* Fix building with GHC >= 6.12Ian Lynagh2009-09-221-0/+6
|
* Track change in HsTypesimonpj2009-09-111-1/+2
|
* Use Map.fromList/toList intead of fromAscList/toAscList when serializing MapsDavid Waern2009-09-111-2/+2
| | | | | | | This fixes the missing docs problem. The Eq and Ord instances for Name uses the unique number in Name. This number is created at deserialization time by GHC's magic Binary instance for Name, and it is random. Thus, fromAscList can't be used at deserialization time, even though toAscList was used at serialization time.
* Correct copyright in H.I.ParseModuleHeaderDavid Waern2009-09-091-1/+1
|
* Remove commented-out codeDavid Waern2009-09-091-31/+0
|
* define unpackPackageId (it was removed from GHC)Simon Marlow2009-07-291-0/+17
|
* Follow changes in GHC's interface file formatSimon Marlow2009-08-241-4/+4
| | | | Word32 instead of Int for FastString and Name offsets