Re: DUB and ddoc - howto?

2019-06-28 Thread Martin Tschierschke via Digitalmars-d-learn
On Friday, 28 June 2019 at 13:03:17 UTC, Daniel Kozak wrote: Did you try dub build --help? Oh, thank you! I just looked at dub --help | grep -i doc ... and several other places...

Blog Post #0048: Model, View, Controller

2019-06-28 Thread Ron Tarrant via Digitalmars-d-learn
Today's post on gtkdcoding.com is the first in a 9-part series covering GTK's model/view/controller mechanism and how it's used in various widgets including the TreeView. Today is mostly theory, a reference (if you will) for the rest of the series. You can read it here:

Re: DUB and ddoc - howto?

2019-06-28 Thread Daniel Kozak via Digitalmars-d-learn
But I am using this one: https://github.com/adamdruppe/adrdox On Fri, Jun 28, 2019 at 2:45 PM Martin Tschierschke via Digitalmars-d-learn wrote: > A very simple question, is there an example how to generate > documentation with dub? > (like dmd -D) > > My internet search was not successful. > >

Re: DUB and ddoc - howto?

2019-06-28 Thread Daniel Kozak via Digitalmars-d-learn
Did you try dub build --help? -b --build=VALUE Specifies the type of build to perform. Note that setting the DFLAGS environment variable will override the build type with custom flags. Possible names:

DUB and ddoc - howto?

2019-06-28 Thread Martin Tschierschke via Digitalmars-d-learn
A very simple question, is there an example how to generate documentation with dub? (like dmd -D) My internet search was not successful.

Re: Variadic template parameters, refactor a long chain of static if's to 'functions'.

2019-06-28 Thread realhet via Digitalmars-d-learn
On Tuesday, 11 June 2019 at 13:22:26 UTC, Adam D. Ruppe wrote: On Tuesday, 11 June 2019 at 09:26:56 UTC, realhet wrote: static bool processId(bool captureIntId, alias r, alias a)(){ mixin("alias ta = typeof("~a.stringof~");"); As I have been saying a lot, mixin and stringof should