aboutsummaryrefslogtreecommitdiff
path: root/haddock-api
Commit message (Collapse)AuthorAgeFilesLines
* Fix record field alignment when name is too longPhil Ruffwind2015-08-022-20/+19
| | | | | | | | | | | Change <dl> to <ul> and use display:table rather than floats to layout the record fields. This avoids bug #301 that occurs whenever the field name gets too long. Slight aesthetic change: the entire cell of the field's source code is now shaded gray rather than just the area where text exists. Fixes #301. Closes #421
* Fix typo in Haddock.Backends.Xhtml.Layout: divSynposis -> divSynopsisPhil Ruffwind2015-08-022-4/+4
| | | | Closes #408
* Link to the definitions to themselvesPhil Ruffwind2015-08-022-8/+16
| | | | | | | | | | | | | | | | | | Currently, the definitions already have an anchor tag that allows URLs with fragment identifiers to locate them, but it is rather inconvenient to obtain such a URL (so-called "permalink") as it would require finding the a link to the corresponding item in the Synopsis or elsewhere. This commit adds hyperlinks to the definitions themselves, allowing users to obtain links to them easily. To preserve the original aesthetics of the definitions, we alter the color of the link so as to be identical to what it was, except it now has a hover effect indicating that it is clickable. Additionally, the anchor now uses the 'id' attribute instead of the (obsolete) 'name' attribute. Closes #407
* Avoid JavaScript error during page load in non-frame modePhil Ruffwind2015-08-021-1/+1
| | | | | | | | | | In non-frame mode, parent.window.synopsis refers to the synopsis div rather than the nonexistent frame. Unfortunately, the script wrongly assumes that if it exists it must be a frame, leading to an error where it tries to access the nonexistent attribute 'replace' of an undefined value (synopsis.location). Closes #406
* Make some version changes after 2.16.1 releaseMateusz Kowalczyk2015-07-221-1/+1
|
* Fix expansion icon for user-collapsible sectionsMateusz Kowalczyk2015-07-111-2/+3
| | | | Closes #412
* Delete trailing whitespaceMateusz Kowalczyk2015-07-075-23/+23
|
* Relax upper bound on GHC a bitMateusz Kowalczyk2015-07-071-3/+2
|
* Fix problem with spec build in Haddock API configuration.Łukasz Hanuszczak2015-07-061-0/+1
|
* Fix bug with module name being hyperlinked to `Prelude`.Łukasz Hanuszczak2015-07-062-3/+5
|
* Add short documentation for hyperlinker source map type.Łukasz Hanuszczak2015-07-061-0/+9
|
* Add support for hyperlinking modules in import lists.Łukasz Hanuszczak2015-07-063-16/+17
|
* Move source paths types to hyperlinker types module.Łukasz Hanuszczak2015-07-064-10/+15
|
* Extract main hyperlinker types to separate module.Łukasz Hanuszczak2015-07-069-63/+74
|
* Fix bug where not all module interfaces were added to source mapping.Łukasz Hanuszczak2015-07-051-2/+4
|
* Refactor source path mapping to use modules as indices.Łukasz Hanuszczak2015-07-055-43/+55
|
* Make Haddock generate warnings about potential misuse of hyperlinker.Łukasz Hanuszczak2015-07-041-0/+30
|
* Remove potentially dangerous record access in hyperlinker AST module.Łukasz Hanuszczak2015-07-041-1/+1
|
* Make hyperlinker generate anchors only to top-level value bindings.Łukasz Hanuszczak2015-07-021-1/+2
|
* Add support for anchoring signatures in type class declarations.Łukasz Hanuszczak2015-07-021-0/+5
|
* Fix broken tests for parsing and hyperlinking hash operators.Łukasz Hanuszczak2015-07-021-1/+1
|
* Fix issue with operators being recognized as preprocessor directives.Łukasz Hanuszczak2015-07-021-3/+3
|
* Improve support for hyperlinking type families.Łukasz Hanuszczak2015-07-022-1/+8
|
* Add support for anchoring data family constructor declarations.Łukasz Hanuszczak2015-07-021-5/+6
|
* Fix crash happening when hyperlinking type family declarations.Łukasz Hanuszczak2015-07-021-0/+1
|
* Make hyperlinker render qualified names as one entity.Łukasz Hanuszczak2015-07-012-5/+46
|
* Document some functions in XHTML utlity module.Łukasz Hanuszczak2015-07-011-0/+8
|
* Add support for hyperlinking universally quantified type variables.Łukasz Hanuszczak2015-07-011-1/+7
|
* Add support for hyperlinking synonyms in patterns.Łukasz Hanuszczak2015-07-011-0/+2
|
* Remove unused dependencies in Haddock API spec configuration.Łukasz Hanuszczak2015-07-011-11/+0
|
* Add very simple QuickCheck properties for source parser spec.Łukasz Hanuszczak2015-06-301-0/+7
|
* Add simple tests for do-notation parsing.Łukasz Hanuszczak2015-06-301-0/+18
|
* Add tests related to parsing basic language constructs.Łukasz Hanuszczak2015-06-301-0/+20
|
* Add basic tests related to comment parsing.Łukasz Hanuszczak2015-06-302-2/+37
|
* Setup HSpec framework for Haddock API package.Łukasz Hanuszczak2015-06-303-0/+49
|
* Unexpose hyperlinker modules in Cabal configuration.Łukasz Hanuszczak2015-06-301-3/+3
|
* Make hyperlinker respect pretty-printer flag and add documentation.Łukasz Hanuszczak2015-06-302-8/+24
|
* Add support for hyperlinking field names in record expressions.Łukasz Hanuszczak2015-06-301-1/+7
|
* Add support for hyperlinking field names in record patterns.Łukasz Hanuszczak2015-06-301-1/+5
|
* Add support for hyperlinking constructor names in patters.Łukasz Hanuszczak2015-06-301-0/+2
|
* Fix issue with hyperlink highlight styling in Chrome browser.Łukasz Hanuszczak2015-06-302-44/+15
|
* Make hyperlinker generate anchors for record field declarations.Łukasz Hanuszczak2015-06-301-7/+9
|
* Make hyperlinker generate correct anchors for data constructors.Łukasz Hanuszczak2015-06-301-4/+9
|
* Implement workaround for Chrome highlighting issues.Łukasz Hanuszczak2015-06-301-1/+11
|
* Prevent source parser from throwing exception when lexing fails.Łukasz Hanuszczak2015-06-301-1/+3
|
* Make Haddock generate source for all interfaces (also hidden ones).Łukasz Hanuszczak2015-06-301-1/+1
|
* Disable generating hyperlinks for module references.Łukasz Hanuszczak2015-06-301-2/+9
|
* Add basic support for cross-package hyperlink generation.Łukasz Hanuszczak2015-06-303-29/+40
|
* Rewrite source generation to fixed links and directory structure.Łukasz Hanuszczak2015-06-306-77/+85
|
* Make external hyperlinks point to locations specified by source URLs.Łukasz Hanuszczak2015-06-304-28/+44
|