Skip to content
Snippets Groups Projects
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 .
  1. Mar 10, 2023
  2. Dec 08, 2022
  3. Dec 07, 2022
  4. Nov 25, 2022
  5. Nov 21, 2022
  6. Nov 01, 2022
  7. Oct 25, 2022
  8. Oct 22, 2022
  9. Oct 17, 2022
  10. Sep 24, 2022
  11. Sep 21, 2022
  12. Sep 18, 2022
  13. Sep 17, 2022
  14. Sep 15, 2022
  15. Aug 16, 2022
  16. Aug 15, 2022
  17. Aug 07, 2022
  18. Aug 06, 2022
  19. Aug 05, 2022
  20. Jul 29, 2022
    • Hécate Moonlight's avatar
      Merge pull request #1516 from duog/9-4-backport-fix-hyperlinks · 7484cf88
      Hécate Moonlight authored
      Backport 9-4: Fix hyperlinks to external items and modules (#1482)
      7484cf88
    • Jade Lovelace's avatar
      Fix hyperlinks to external items and modules (#1482) · 2036454b
      Jade Lovelace authored and Douglas Wilson's avatar Douglas Wilson committed
      Fixes #1481.
      
      There were two bugs in this:
      * We were assuming that we were always getting a relative path to the
        module in question, while Nix gives us file:// URLs sometimes. This
        change checks for those and stops prepending `..` to them.
      * We were not linking to the file under the module. This seems
        to have been a regression introduced by #977. That is, the URLs were
        going to something like
        file:///nix/store/3bwbsy0llxxn1pixx3ll02alln56ivxy-ghc-9.0.2-doc/share/doc/ghc/html/libraries/base-4.15.1.0/src
        which does not have the appropriate HTML file or fragment for the item
        in question at the end.
      
      There is a remaining instance of the latter bug, but not in the
      hyperlinker: the source links to items reexported from other modules are
      also not including the correct file name. e.g. the reexport of Entity in
      esqueleto, from persistent.
      
      NOTE: This needs to get tested with relative-path located modules. It seems
      correct for Nix based on my testing.
      
      Testing strategy:
      
      ```
      nix-shell '<nixpkgs>' --pure -A haskell.packages.ghc922.aeson
      mkdir /tmp/aesonbuild && cd /tmp/aesonbuild
      export out=/tmp/aesonbuild/out
      genericBuild
      
      ln -sf $HOME/co/haddock/haddock-api/resources .
      ./Setup haddock --with-haddock=$HOME/path/to/haddock/exec --hyperlink-source
      ```
      
      (cherry picked from commit ab53ccf0)
      2036454b
  21. Jul 24, 2022
  22. Jul 19, 2022
  23. Jul 16, 2022
  24. Jul 06, 2022
  25. Jun 21, 2022
  26. Jun 13, 2022
  27. Jun 12, 2022
  28. Jun 07, 2022
    • Marcin Szamotulski's avatar
      Render module tree per package in the content page (#1492) · c5a83df9
      Marcin Szamotulski authored
      * Render module tree per package in the content page
      
      When rendering content page for multiple packages it is useful to split
      the module tree per package.  Package names in this patch are inferred
      from haddock's interface file names.
      
      * Write PackageInfo into interface file
      
      To keep interface file format backward compatible, instead of using
      `Binary` instance for `InterfaceFile` we introduce functions to
      serialise and deserialise, which depends on the interface file version.
      c5a83df9
Loading