Skip to content

missing other-modules breaks --hyperlink-with-source #579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bos opened this issue May 24, 2012 · 4 comments
Closed

missing other-modules breaks --hyperlink-with-source #579

bos opened this issue May 24, 2012 · 4 comments

Comments

@bos
Copy link
Contributor

bos commented May 24, 2012

(Imported from Trac #586, reported by bastl on 2009-09-16)

"cabal haddock --executables" produces documentation for all modules Main depends on.

"cabal haddock --executables --hyperlink-with-source" only generates source for main (but links to the dependent modules, which results in broken links.)

Cabal 1.6.0.3,
cabal-install 0.6.2
ghc 6.10.3

ubuntu 9.04

@bos
Copy link
Contributor Author

bos commented May 24, 2012

(Imported comment by @dcoutts on 2009-09-16)

I rather suspect the problem is that the package in question does not list the "other-modules" correctly and only lists the "main-is". Could you confirm this?

If so then we chalk it up as another thing that'll be fixed when we implement a make-style module/file dependency framework (see #15).

@bos
Copy link
Contributor Author

bos commented May 24, 2012

(Imported comment by bastl on 2009-09-16)

Confirmed. With valid "Other-Modules" it works.

Anyway it should give a warning, IMHO.

@bos
Copy link
Contributor Author

bos commented May 24, 2012

(Imported comment by @dcoutts on 2009-09-22)

See also #128.

@tibbe
Copy link
Member

tibbe commented May 15, 2014

Closing as there's been no activity in years.

We're cleaning up the bug tracker to make it useful again and are thus closing bugs that haven't seen any activity in a long time. Please re-open (or file a new bug) if the problem reappears.

@tibbe tibbe closed this as completed May 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants