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) 回答1: The flag you're looking for is --no-haddock-deps as in stack haddock --no-haddock-deps webservice 来源: https://stackoverflow.com/questions/50175379/how-to-exclude-dependencies-when-building-haddocks