aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Xhtml
Commit message (Collapse)AuthorAgeFilesLines
* Keep track of ordered list indexes and render them (#1407)Ben Simms2022-05-031-2/+5
| | | | | * Keep track of ordered list indexes and render them * Rename some identifiers to clarify
* spelling errors (#1471)askeblad2022-04-061-1/+1
|
* typos (#1464)askeblad2022-03-162-2/+2
|
* coot/multiple packages (ghc-9.2) (#1418)Marcin Szamotulski2021-08-082-3/+15
|
* Match changes in GHC AST for in-tree API AnnotationsAlan Zimmerman2021-03-154-42/+45
| | | | As landed via https://gitlab.haskell.org/ghc/ghc/-/merge_requests/2418
* Context becomes a Maybe in the GHC ASTAlan Zimmerman2021-02-221-11/+13
| | | | | | This prevents noLoc's appearing in the ParsedSource. Match the change in GHC.
* Merge branch 'ghc-head' into ghc-9.0alexbiehl-gc2021-02-071-57/+84
|\
| * Merge commit '41964cb2fd54b5a10f8c0f28147015b7d5ad2c02' into wip/ghc-head-mergeBen Gamari2021-02-061-0/+1
| |\
| | * type level characters support for haddock (required for #11342)Daniel Rogozin2021-02-051-0/+1
| | |
| * | Merge remote-tracking branch 'origin/ghc-9.0' into ghc-headBen Gamari2021-01-135-94/+127
| |\ \ | | |/ | |/|
| * | Adapt to HsCoreTy (formerly NewHsTypeX) becoming a type synonymRyan Scott2020-12-161-1/+1
| | | | | | | | | | | | Needed for !4417, the fix for GHC#15706 and GHC#18914.
| * | Display linear/multiplicity arrows correctly (#1238)Krzysztof Gogolewski2020-12-162-4/+14
| | | | | | | | | | | | Previously we were ignoring multiplicity and displayed a %1 -> b as a -> b.
| * | Add type arguments to PrefixConCale Gibbard2020-11-251-3/+3
| | |
| * | Adapt to HsOuterTyVarBndrsRyan Scott2020-10-301-33/+61
| | | | | | | | | | | | | | | These changes accompany ghc/ghc!4107, which aims to be a fix for #16762.
| * | Adapt to HsConDecl{H98,GADT}Details splitRyan Scott2020-10-301-14/+16
| | | | | | | | | | | | Needed for GHC#18844.
| * | Update for modular ping pongZubin Duggal2020-07-231-4/+1
| | |
* | | Merge pull request #1314 from tweag/show-linear-backportHécate Moonlight2021-02-072-4/+14
|\ \ \ | | | | | | | | Backport #1238 (linear types) to ghc-9.0
| * | | Display linear/multiplicity arrows correctly (#1238)Krzysztof Gogolewski2021-02-052-4/+14
| | |/ | |/| | | | | | | | | | | | | | | | Previously we were ignoring multiplicity and displayed a %1 -> b as a -> b. (cherry picked from commit b4b4d896d2d68d6c48e7db7bfe95c185ca0709cb)
* / | Add support for labeled module referencesIñaki García Etxebarria2021-02-072-10/+14
|/ / | | | | | | | | | | | | | | | | | | Support a markdown-style way of annotating module references. For instance -- | [label]("Module.Name#anchor") will create a link that points to the same place as the module reference "Module.Name#anchor" but the text displayed on the link will be "label".
* | Merge remote-tracking branch 'origin/ghc-8.10' into ghc-9.0Ben Gamari2021-01-055-93/+127
|\ \ | |/ |/|
| * Changes for GHC#17566Alex Biehl2020-12-081-1/+3
| | | | | | | | See https://gitlab.haskell.org/ghc/ghc/merge_requests/2469
| * Use `unLoc`/`noLoc` from GHC instead of `unL`/`reL`Alec Theriault2020-03-281-2/+2
| | | | | | | | | | | | | | | | * `unL` is already defined by GHC as `unLoc` * `reL` is already defined by GHC as `noLoc` (in a safer way too!) * Condense `setOutputDir` and add a about exporting from GHC Fixes #978
| * Use TTG empty extensions to remove some `error`'sAlec Theriault2020-03-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | None of these error cases should ever have been reachable, so this is just a matter of leveraging the type system to assert this. * Use the `NoExtCon` and `noExtCon` to handle case matches for no extension constructors, instead of throwing an `error`. * Use the extension field of `HsSpliceTy` to ensure that this variant of `HsType` cannot exist in an `HsType DocNameI`.
| * Clean up warningsAlec Theriault2020-03-222-2/+1
| | | | | | | | | | | | * unused imports * imports of `Data.List` without import lists * missing `CompatPrelude` file in `.cabal`
| * Merge branch 'ghc-8.8' into ghc-8.10Alec Theriault2020-03-205-99/+136
| |\
| | * Replace the 'caption' class so that the collapsible sections are shownKleidukos2020-03-191-1/+1
| | |
| | * Matching changes in GHC for #16236Alan Zimmerman2019-03-291-2/+2
| | | | | | | | | | | | (cherry picked from commit 3ee6526d4ae7bf4deb7cd1caf24b3d7355573576)
| | * Better support for default methods in classesAlec Theriault2019-03-092-28/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * default methods now get rendered differently * default associated types get rendered * fix a forgotten `s/TypeSig/ClassOpSig/` refactor in LaTeX backend * LaTeX backend now renders default method signatures NB: there is still no way to document default class members and the NB: LaTeX backend still crashes on associated types
| | * Merge branch 'ghc-8.6' into ghc-8.8Alec Theriault2019-03-032-43/+26
| | |\
| | | * Keep forall on H98 existential data constructors (#1003)Alec Theriault2019-01-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The information about whether or not there is a source-level `forall` is already available on a `ConDecl` (as `con_forall`), so we should use it instead of always assuming `False`! Fixes #1002.
| | | * More uniform handling of `forall`'s in HTML/LaTeXAlec Theriault2018-11-261-39/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * don't forget to print explicit `forall`'s when there are arg docs * when printing an explicit `forall`, print all tyvars Fixes #973
| | | * Rename 'NewOcean' theme to 'Linuwial'Alec Theriault2018-11-111-1/+1
| | | |
| | * | Better identifier parsingAlec Theriault2019-02-252-14/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '(<|>)' and '`elem`' now get parsed and rendered properly as links * 'DbModule'/'DbUnitId' now properly get split apart into two links * tuple names now get parsed properly * some more small niceties... The identifier parsing code is more precise and more efficient (although to be fair: it is also longer and in its own module). On the rendering side, we need to pipe through information about backticks/parens/neither all the way through from renaming to the backends. In terms of impact: a total of 35 modules in the entirety of the bootlib + ghc lib docs change. The only "regression" is things like '\0'. These should be changed to @\\0@ (the path by which this previously worked seems accidental).
* | | | Adapt Haddock to LinearTypesKrzysztof Gogolewski2020-06-171-12/+14
| | | | | | | | | | | | | | | | See ghc/ghc!852.
* | | | Use HsForAllTelescope (GHC#18235)Ryan Scott2020-06-131-28/+32
| | | |
* | | | Changes for GHC#18191Ryan Scott2020-06-051-1/+1
| | | | | | | | | | | | | | | | See https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3337.
* | | | Explicit Specificity Support for HaddockGert-Jan Bottu2020-05-201-11/+31
| | | |
* | | | Fix for GHC.Unit.* modulesSylvain Henry2020-04-271-1/+1
| | | |
* | | | UnitId has been renamed into UnitSylvain Henry2020-04-272-2/+2
| | | |
* | | | Module structureSylvain Henry2020-04-243-3/+3
| | | |
* | | | Module renamingSylvain Henry2020-04-101-1/+0
| | | |
* | | | Make NoExtCon fields strictRyan Scott2020-04-071-12/+0
| | | | | | | | | | | | | | | | | | | | These changes are a part of a fix for [GHC#17992](https://gitlab.haskell.org/ghc/ghc/issues/17992).
* | | | Modules: TypesSylvain Henry2020-03-205-10/+10
| | | |
* | | | Ignore the BufLoc/BufSpan added in GHC's !2516Vladislav Zavialov2020-02-282-3/+3
| | | |
* | | | Changes for GHC#17566Ryan Scott2020-01-251-2/+2
|/ / / | | | | | | | | | See https://gitlab.haskell.org/ghc/ghc/merge_requests/2469
* | | Changes for #15247Ryan Scott2019-07-031-24/+24
| | |
* | | Visible dependent quantification (#16326) changesRyan Scott2019-02-271-15/+24
| | |
* | | Matching changes in GHC for #16236Alan Zimmerman2019-02-051-2/+2
|/ /
* | Visible kind application haddock updatemynguyen2018-12-302-5/+19
| |
* | Properly synify and render promoted type variables (#985)Alec Theriault2018-12-231-3/+4
| | | | | | | | | | | | | | | | * Synify and render properly promoted type variables Fixes #923. * Accept output