How to exclude dependencies when building haddocks

2019-05-05 03:37发布

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条回答
SAY GOODBYE
2楼-- · 2019-05-05 03:53

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

stack haddock --no-haddock-deps webservice
查看更多
登录 后发表回答