Skip to content

The index.html that are supposed to be produced by cabal haddock-project are not here. #8843

Closed
@Kleidukos

Description

@Kleidukos

Describe the bug
The index.html that are supposed to be produced by cabal haddock-project are not here.

To Reproduce
Steps to reproduce the behavior:

$ git clone https://github.com/haskell-cryptography/libsodium-bindings && cd libsodium-bindings
$ cabal haddock-project
Warning: haddock-project command is experimental, it might break in the future
Resolving dependencies...
Build profile: -w ghc-9.4.4 -O1
[…]
Documentation created:
/tmp/libsodium-bindings/dist-newstyle/build/x86_64-linux/ghc-9.4.4/libsodium-bindings-0.0.1.0/doc/html/libsodium-bindings/index.html
Documentation created:
/tmp/libsodium-bindings/dist-newstyle/build/x86_64-linux/ghc-9.4.4/sel-0.0.1.0/doc/html/sel/index.html
Documentation created: haddocks/index.html
$ file haddocks/index.html
haddocks/index.html: cannot open `haddocks/index.html` (No such file or directory)
$ file /tmp/libsodium-bindings/dist-newstyle/build/x86_64-linux/ghc-9.4.4/sel-0.0.1.0/doc/html/sel/index.html
/tmp/libsodium-bindings/dist-newstyle/build/x86_64-linux/ghc-9.4.4/sel-0.0.1.0/doc/html/sel/index.html: cannot open `/tmp/libsodium-bindings/dist-newstyle/build/x86_64-linux/ghc-9.4.4/sel-0.0.1.0/doc/html/sel/index.html' (No such file or directory)
$ file /tmp/libsodium-bindings/dist-newstyle/build/x86_64-linux/ghc-9.4.4/libsodium-bindings-0.0.1.0/doc/html/libsodium-bindings/index.html
/tmp/libsodium-bindings/dist-newstyle/build/x86_64-linux/ghc-9.4.4/libsodium-bindings-0.0.1.0/doc/html/libsodium-bindings/index.html: cannot open `/tmp/libsodium-bindings/dist-newstyle/build/x86_64-linux/ghc-9.4.4/libsodium-bindings-0.0.1.0/doc/html/libsodium-bindings/index.html' (No such file or directory)

Expected behavior
The files that are advertised to be produced should be here

System information

  • Fedora 37
  • cabal-install version 3.10.1.0
  • The Glorious Glasgow Haskell Compilation System, version 9.4.4

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions