On Wednesday, 5 December 2018 at 02:08:13 UTC, Jedzia wrote:
dmd2-2.083.0, win
minimal dub init
with dub.json:
{
"description": "A minimal D application.",
"dependencies": {
"iz": "~>0.6.23"
},
"authors": [
"Jedzia"
],
"copyright": "Copyright © 2018, Jedzia",
"license": "MIT",
"name": "testdoc"
}
and `dub build -b docs`
Is it normal that dub builds the docs of dependencies (iz
library in that case).
And if, how to build only the docs of my own project?
To your dub.json you can add following line to exclude e.g.
arsd.cgi:
"-ddoxFilterArgs": ["--ex", "arsd.cgi", "--min-protection",
"Public"],
Kind regards
André