<div dir="ltr"><div dir="ltr"><div dir="ltr">Did you try dub build --help?<div><br></div><div><div>-b --build=VALUE Specifies the type of build to perform. Note that</div><div> setting the DFLAGS environment variable will override</div><div> the build type with custom flags.</div><div> Possible names:</div><div> debug (default), plain, release, release-debug,</div><div> release-nobounds, unittest, profile, profile-gc,</div><div> docs, ddox, cov, unittest-cov, syntax and custom</div><div> types</div><div><div><br></div></div></div><div>So I guess something like this could work:</div><div><br></div><div>dub build -b ddox</div><div>or </div><div><br></div><div>dub build -b docs<br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 28, 2019 at 2:45 PM Martin Tschierschke via Digitalmars-d-learn <<a href="mailto:digitalmars-d-learn@puremagic.com">digitalmars-d-learn@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">A very simple question, is there an example how to generate <br>
documentation with dub?<br>
(like dmd -D)<br>
<br>
My internet search was not successful.<br>
<br>
</blockquote></div>