How to exclude dependencies when building haddocks?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-07 08:45:47

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!