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 .
- Mar 26, 2021
-
-
Alex Biehl authored
-
Alex Biehl authored
-
Alex Biehl authored
-
- Mar 07, 2021
-
-
Alex Biehl authored
Add support for labeled module references
-
Hécate Moonlight authored
-
Hécate Moonlight authored
-
Alex Biehl authored
-
Hécate Moonlight authored
-
Alex Biehl authored
Instead construct the ModLink value directly when parsing.
-
Iñaki García Etxebarria authored
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".
-
- Jan 21, 2021
-
-
Hécate Moonlight authored
Prepare haddock code for new Language
-
Joachim Breitner authored
With the introduction of GHC2021, the `Languages` data type in GHC will grow. In preparation of that (and to avoid changing haddock with each new language), this change makes the code handle extensions to that data type gracefully.
-
- Jan 15, 2021
-
-
Iñaki authored
Add support for labeled module references (#1181) Authored-by:
Iñaki García Etxebarria <git@inaki.blueleaf.cc> 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". * Adapt the JSON code to the new DocModule type * Dummy commit to trigger rebuild
-
Hécate Moonlight authored
Disable Bug873 test
-
Hécate Moonlight authored
-
- Jan 14, 2021
-
-
Emily Martins authored
Fix #1201: Add link to the readthedocs in cabal description to show on hackage.
-
- Jan 08, 2021
-
-
Emily Martins authored
-
- Jan 04, 2021
-
-
Hécate Moonlight authored
Build instructions: haddock-library and -api first!
-
- Dec 30, 2020
-
-
andreas.abel authored
-
- Dec 10, 2020
-
-
dependabot[bot] authored
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 ) Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Dec 08, 2020
-
-
Alex Biehl authored
* Initial version of ci.yml This is a straight copy from Dmitrii Kovanikov's blog post at https://kodimensional.dev/github-actions. Will adapt to haddock in successive commits. * Delete .travis.yml * Modify to only test on ghc-8.10.{1,2} * Use actions/setup-haskell@v1.1.4 * Relax QuickCheck bound on haddock-api * Remove stack matrix for now * Nail down to ghc-8.10 branch for now * Pin index state to 2020-12-08T20:13:44Z for now * Disable macOS and Windows tests for now for speed up
-
-
-
-
See ghc!2469
-
Willem Van Onsem authored
-
tomjaguarpaw authored
because they will be soon be added to -Wall. See ghc#15656
-
Xia Li-yao authored
* Fix multiple typos and inconsistencies in doc/markup.rst Note: I noticed some overlap with #1112 from @wygulmage and #1081 from @parsonsmatt after creating these proposed changes - mea culpa for not looking at the open PRs sooner. * Fix #1113 If no Signatures, no section of index.html * Change the formatting of missing link destinations The current formatting of the missing link destination does not really help user to understand the reasons of the missing link. To address this, I've changed the formatting in two ways: - the missing link symbol name is now fully qualified. This way you immediately know which haskell module cannot be linked. It is then easier to understand why this module does not have documentation (hidden module or broken documentation). - one line per missing link, that's more readable now that symbol name can be longer due to qualification. For example, before haddock was listing missing symbol such as: ``` could not find link destinations for: Word8 Word16 mapMaybe ``` Now it is listed as: ``` could not find link destinations for: - Data.Word.Word8 - Data.Word.Word16 - Data.Maybe.mapMaybe ``` * Add `--ignore-link-symbol` command line argument This argument can be used multiples time. A missing link to a symbol listed by `--ignore-link-symbol` won't trigger "missing link" warning. * Forbid spaces in anchors (#1148) * Improve error messages with context information (#1060) Co-authored-by:
Matt Audesse <matt@mattaudesse.com> Co-authored-by:
Mike Pilgrem <mpilgrem@users.noreply.github.com> Co-authored-by:
Guillaume Bouchard <guillaume.bouchard@tweag.io> Co-authored-by:
Pepe Iborra <pepeiborra@gmail.com>
-
Xia Li-yao authored
-
dependabot[bot] authored
Bumps [bl](https://github.com/rvagg/bl) from 1.2.2 to 1.2.3. - [Release notes](https://github.com/rvagg/bl/releases) - [Commits](https://github.com/rvagg/bl/compare/v1.2.2...v1.2.3 ) Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
MaxGabriel authored
Closes https://github.com/haskell/haddock/issues/1231
-
vrom911 authored
-
vrom911 authored
-
- Aug 19, 2020
-
-
Alexander Biehl authored
This should shut down the warnings on Github. Note that the security issues seem to have been entirely in the build dependencies, since the output JS has not changed. Last NPM dependency audit happend in d576b232 Co-authored-by:
Alex Biehl <alex.biehl@target.com>
-
- May 25, 2020
-
-
Willem Van Onsem authored
If we compile documentation where only a small fraction is undocumented, it is misleading to see 100% coverage - 99% is more intuitive. Fixes #1194
-
- Apr 25, 2020
-
-
Iñaki authored
This allows to have stable anchors for groups, even if the set of groups in the documentation is altered. The syntax for setting the anchor of a group is -- * Group name #desiredAnchor# Which will produce an html anchor of the form '#g:desiredAnchor' Co-authored-by:
Iñaki García Etxebarria <git@inaki.blueleaf.cc>
-
- Apr 21, 2020
-
-
Alec Theriault authored
Sometimes, the declaration being exported is a subdecl (for instance, a record accessor getting exported at the top-level). For these cases, Haddock has to find a way to produce some synthetic sensible top-level declaration. This is done with `extractDecl`. As is shown by #1067, this is sometimes impossible to do just at a syntactic level (for instance when the subdecl is re-exported). In these cases, the only sensible thing to do is to try to reify a declaration based on a GHC `TyThing` via `hiDecl`.
-
- Apr 15, 2020
-
-
Alec Theriault authored
When renaming the Haddock interface, never emit warnings when renaming a minimal signature. Also added some documention around `renameInterface`. Minimal signatures intentionally include references to potentially un-exported methods (see the discussion in #330), so it is expected that they will not always have a link destination. On the principle that warnings should always be resolvable, this shouldn't produce a warning. See #1070.
-
Alec Theriault authored
When first creating a Haddock interface, trim `ifaceDocMap` and `ifaceArgMap` to not include docstrings that can never appear in the final output. Besides checking with GHC which names are exported, we also need to keep all the docs attached to instance declarations (it is much tougher to detect when an instance is fully private). This change means: * slightly smaller interface files (7% reduction on boot libs) * slightly less work to do processing docstrings that aren't used * no warnings in Haddock's output about private docstrings (see #1070) I've tested manually that this does not affect any of the boot library generated docs (the only change in output was some small re-ordering in a handful of instance lists). This should mean no docstrings have been incorrectly dropped.
-
- Apr 10, 2020
-
-
kindaro authored
* Recode Doc to Json. * More descriptive field labels.
-