You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The index.html that are supposed to be produced by cabal haddock-project are not here. #8843
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 breakin 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
changed the title [-]Top-level `index.html` that are supposed to be produced by `cabal haddock-project` are not here.[/-][+]The `index.html` that are supposed to be produced by `cabal haddock-project` are not here.[/+]on Mar 13, 2023
Activity
[-]Top-level `index.html` that are supposed to be produced by `cabal haddock-project` are not here.[/-][+]The `index.html` that are supposed to be produced by `cabal haddock-project` are not here.[/+]Kleidukos commentedon Mar 21, 2023
@coot May I assign you to this?
coot commentedon Mar 28, 2023
You need to pass
--gen-contentsto generatehaddock/index.html; the message:is misleading though.
One really wants to use one of:
cabal haddock-project --localorcabal haddock-project --hackage.