Saurabh Nanda
Saurabh Nanda

Reputation: 6793

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)

Upvotes: 6

Views: 508

Answers (1)

sjakobi
sjakobi

Reputation: 3606

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

stack haddock --no-haddock-deps webservice

Upvotes: 5

Related Questions