Skip to content
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

haddock-project --css does not properly apply the stylesheet in multi-package projects #10636

Closed
ozkutuk opened this issue Dec 12, 2024 · 0 comments · Fixed by #10637
Closed

Comments

@ozkutuk
Copy link
Contributor

ozkutuk commented Dec 12, 2024

Describe the bug
cabal haddock-project --css does not properly apply the provided stylesheet in multi-package projects. There are two problems that I can see:

  1. The custom stylesheet is not applied to the index page at all
  2. The style of the package haddocks are broken when the packages reside in their individiual directories (and not at the root of the project)

I suspect the issue is not specific to haddock-project and probably also applies to haddock command too.

To Reproduce
I have created a small reproducer here. Follow the repo's README for details.

Expected behavior
Both the index page and each of the package haddocks have the provided stylesheet applied.

System information

  • Operating system: NixOS
  • cabal: head
  • ghc: 9.6.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant