Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Empty 'Signatures' section in index.html (no backpack) #1113

@mpilgrem

Description

@mpilgrem

For a project that does not use backpack, haddock creates an index.html contents page with an empty Signatures section (see below). I do not know if that is the intended behaviour. As a user, I would expect that if no 'module signatures' are being used, the Signatures section would be absent.

Steps to reproduce

  1. Build haddock.exe from source (excluding the last commit e6ca100, which causes the build to fail). haddock --version:
Haddock version 2.23.0, (c) Simon Marlow 2006
Ported to use the GHC API by David Waern 2006-2008
  1. Create a simple project with stack new testHaddock (uses resolver lts-14.14 (GHC 8.6.5)).

  2. Run haddock -odocs -h app/Main.hs src/Lib.hs. This results in the following:

output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions