haskell / haskell-platform

Distribution of Haskell with batteries included
http://www.haskell.org/platform/
Other
380 stars 91 forks source link

Can not hide synopsis in Library documantation #317

Closed ghost closed 5 years ago

ghost commented 5 years ago

System: MS Windows 10 Internet browser: MS Edge Haskell Platform: 8.6.3 "Synopsis" button don't work. "Synopsis" is open by default eg for Data.List and covers the most of page. The problem is from an earlier version, but I do not remember which one. The same is for example on https://downloads.haskell.org/~ghc/latest/docs/html/libraries/base-4.12.0.0/Data-List.html

gbaz commented 5 years ago

This is not a platform issue, but a haddock issue. Please file an issue there.

ghost commented 5 years ago

This is my third attempt. I have enough. I wrote an issue to ghc maintainers, an email to haddock maintainer. Nobody took care of it. So let it be. Thanks for answer.

ghost commented 5 years ago

Is there any tutorial how to generate (with haddock) library documantation for Full platform ? Haddock help is useless.

gbaz commented 5 years ago

I opened the issue on the haddock tracker here: https://github.com/haskell/haddock/issues/981

As for how to generate docs with haddock, the recommended way is via cabal. Default generation of haddocks is controlled by the ~/.cabal/config file as documented here: https://cabal.readthedocs.io/en/latest/nix-local-build.html?highlight=haddock#cfg-field-documentation