Search code examples
haskellhaskell-stackhaddock

How to exclude dependencies when building haddocks?


Is there any way to build haddock docs for specific packages? I'm trying to build haddocks for my package/app alone, but the following command seems to be doing this for all dependencies, as well:

stack haddock webservice

(where webservice is the name of my package/app)


Solution

  • The flag you're looking for is --no-haddock-deps as in

    stack haddock --no-haddock-deps webservice