For example if the source tree looks like this:
and generating the docs with something like this:
dmd -D -Dd=docs foo/baz.d bar/baz.d
the output looks like this:
one baz overwrites the other.
I'd like to have something like this:
There's the -op flag, but that litters the source tree with
Neither the docs https://dlang.org/spec/ddoc.html nor google
provided any insight.
Also there's more annoying behavior:
- Documentation generation fails if -version s are not provided
resulting in a rather long command and it's tedious to manually
keep track of it. Is there a way to make it only honor
version(none) and treat all other -version s as a given ?
- if the -o- isn't provided, dmd complains about missing
symbols. Why ? -D enables documentation mode, doesn't it?