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.
Last successful update . This branch has diverged from upstream.
  1. 24 Sep, 2022 1 commit
  2. 21 Sep, 2022 1 commit
  3. 18 Sep, 2022 1 commit
  4. 17 Sep, 2022 1 commit
  5. 15 Sep, 2022 1 commit
  6. 16 Aug, 2022 1 commit
  7. 15 Aug, 2022 6 commits
  8. 07 Aug, 2022 1 commit
  9. 06 Aug, 2022 1 commit
  10. 05 Aug, 2022 3 commits
  11. 29 Jul, 2022 2 commits
    • 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
  12. 24 Jul, 2022 1 commit
  13. 19 Jul, 2022 1 commit
  14. 16 Jul, 2022 1 commit
  15. 06 Jul, 2022 2 commits
  16. 21 Jun, 2022 2 commits
  17. 13 Jun, 2022 1 commit
  18. 12 Jun, 2022 1 commit
  19. 07 Jun, 2022 1 commit
    • 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
  20. 06 Jun, 2022 3 commits
  21. 02 Jun, 2022 1 commit
  22. 31 May, 2022 1 commit
  23. 26 May, 2022 2 commits
  24. 25 May, 2022 3 commits
  25. 24 May, 2022 1 commit