dub is building docs of dependencies
Andre Pany
andre at s-e-a-p.de
Wed Dec 5 12:00:45 UTC 2018
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é
More information about the Digitalmars-d-learn
mailing list