May 14, 2019
I am trying to use dub to build documentation. I am running "dub build --build=docs", but it fails on the following warning:
"../../.dub/packages/vibe-d-0.8.5/vibe-d/crypto/vibe/crypto/cryptorand.d(44,18): Warning: Ddoc: parameter count mismatch, expected 2, got"

How can I prevent this? I want to either ignore the warnings, or (preferably) just have dub build docs for my package, and not the dependencies.

Thanks!
May 15, 2019
On 2019-05-14 23:05, Confused Coder wrote:
> I am trying to use dub to build documentation. I am running "dub build --build=docs", but it fails on the following warning:
> "../../.dub/packages/vibe-d-0.8.5/vibe-d/crypto/vibe/crypto/cryptorand.d(44,18): Warning: Ddoc: parameter count mismatch, expected 2, got"
> 
> How can I prevent this? I want to either ignore the warnings, or (preferably) just have dub build docs for my package, and not the dependencies.

The simplest would be to build with `--verror`. That will only print errors and no warnings.

-- 
/Jacob Carlborg