This project is mirrored from https://github.com/haskell/haddock.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Jun 21, 2023
-
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
MR !10283 changes the alternatives for WarningTxt pass. This MR reflects those changes in the haddock codebase. Signed-off-by:
Bartłomiej Cieślar <bcieslar2001@gmail.com>
-
- Jun 20, 2023
-
-
Ben Gamari authored
Associated data families were being given their own export DocStructureItems, which resulted in them being documented separately from their classes in haddocks. This commit fixes it.
-
Due to ghc!10469.
-
The NFData SourceText instance is now available in GHC Handle mod_iface mi_warns now being IfaceWarnings
-
- Jun 16, 2023
-
-
Ben Gamari authored
-
Ben Gamari authored
-
Bartłomiej Cieślar authored
MR !10283 changes the alternatives for WarningTxt pass. This MR reflects those changes in the haddock codebase. Signed-off-by:
Bartłomiej Cieślar <bcieslar2001@gmail.com>
-
- Jun 15, 2023
-
-
Finley McIlwaine authored
-
Finley McIlwaine authored
-
Hécate Moonlight authored
-
Finley McIlwaine authored
With hi-haddock as is, there is an awkward silence during the load operation. This commit makes haddock use the default `batchMsg` Messager for progress reporting, and makes the default GHC verbosity level 1, so the user can see what GHC is doing.
-
- Jun 14, 2023
-
-
Finley McIlwaine authored
-
Finley McIlwaine authored
-
- Jun 08, 2023
-
-
Finley McIlwaine authored
hi-haddock for ghc 9.6
-
Finley McIlwaine authored
-
Finley McIlwaine authored
This section is a bit of a WIP due to the unstable nature of hi-haddock and the lack of tooling supporting it, but its a good start.
-
- Jun 07, 2023
-
-
-
Consider this type signature: kindOf :: forall {k} (a :: k). Proxy a -> Proxy k Prior to this fix, the LaTeX backend rendered it like this: kindOf :: forall k a. Proxy a -> Proxy k Now we preserve explicit specificity and kind annotations.
-
Prior to this change, atSign was defined as follows: atSign unicode = text (if unicode then "@" else "@") Yes, this is the same symbol '\64' and not your font playing tricks on you. Now we define: atSign = char '@' Both the LaTeX and the Xhtml backend are updated accordingly.
-
Matthew Pickering authored
Neither of these MRs are ready to land yet which causes issues with other MRs which are ready to land and need haddock changes.
-
- Jun 06, 2023
-
-
Finley McIlwaine authored
This section is a bit of a WIP due to the unstable nature of hi-haddock and the lack of tooling supporting it, but its a good start.
-
Finley McIlwaine authored
* Add --trace-args flag for tracing arguments received to standard output * Avoid recompiling due to changes in optimization flags * Update users guide and changes.md
-
- Jun 01, 2023
-
-
Finley McIlwaine authored
-
Finley McIlwaine authored
Link to Data.Tuple instead of GHC.Tuple.Prim
-
Finley McIlwaine authored
-
Finley McIlwaine authored
-
Finley McIlwaine authored
-
Finley McIlwaine authored
All diffs now boil down to the expected differences resulting from declarations being reified from TyThings in hi-haddock. Surface syntax now has much less control over the syntax used in the documentation.
-
Finley McIlwaine authored
-
Finley McIlwaine authored
`lookupOccEnv` was used to resolve `OccNames` with warnings attached, but it doesn't look in the record field namespace. Thus, if a record field had a warning attached, it would not resolve and the warning map would not include it. This commit fixes by using `lookupOccEnv_WithFields` instead.
-
Finley McIlwaine authored
- Stop using kind `*` in html test sources - Add TypeOperators where necessary to avoid warnings and future errors - Rename some test modules to match their module names
-
Finley McIlwaine authored
Changes to GHC pretty printing code have resulted in some differences to Haddock's LaTeX output. - Type variables are printed explicitly quantified in the LinearTypes test - Wildcard types in type family equations are now printed numbered, e.g. _1 _2, in the TypeFamilies3 test - Combined signatures in DefaultSignatures test are now documented as separate signatures
-
Finley McIlwaine authored
Accept several changes in Hoogle tests: Pretty printing logic no longer prints the `(Proxy (Proxy (...))` chain in Bug806 with parentheses. Since this test was only meant to verify that line breaks do not occur, accept the change. `tyThingToLHsDecl` is called for class and data declarations, which ends up "synifying" the type variables and giving unlifted types kind signatures. As a result, type variables of kind `Type -> Type` are now printed with kind signatures in Hoogle output. This could be changed by manually drop kind signatures from class variables in the Hoogle backend if the behavior is deemed unacceptable. Sometimes subordinate declarations are exported separate from their parent declarations (e.g. record selectors). In this case, a type signature is cobbled together for the export item in `extractDecl`. Since this type signature is very manually constructed, it may lack kind signatures of decls constructed from `tyThingToLHsDecl`. An example of this is the `type-sigs` Hoogle test. Change `*` to `Type` in Hoogle test refs. I don't think this will break Hoogle behavior, since it appears to not consider type signatures in search. I have not fully verified this.
-
Finley McIlwaine authored
-
Finley McIlwaine authored
-
Finley McIlwaine authored
-
-