Re: ddox empty public methods/interfaces etc

2017-11-13 Thread Bastiaan Veelo via Digitalmars-d-learn
On Friday, 10 November 2017 at 10:12:32 UTC, RazvanN wrote: I don't want to open a new forum thread for this, but if you guys have more experience with ddox can you please explain me how does it work? I expected you can simply run ddox on a .d file and it will output the documentation in some s

Re: ddox empty public methods/interfaces etc

2017-11-13 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 10 November 2017 at 10:12:32 UTC, RazvanN wrote: I don't want to open a new forum thread for this, but if you guys have more experience with ddox can you please explain me how does it work? There's two modes of operation for ddox: using dmd -D -X to generate a json file, then makin

Re: ddox empty public methods/interfaces etc

2017-11-13 Thread Steven Schveighoffer via Digitalmars-d-learn
On 11/10/17 5:12 AM, RazvanN wrote: On Thursday, 9 November 2017 at 14:21:52 UTC, Steven Schveighoffer wrote: On 11/8/17 10:45 PM, Andrey wrote: I just added to dub.json this: "-ddoxFilterArgs": [     "--min-protection=Public" ] i.e. without --only-documented option, in this way ddox will

Re: ddox empty public methods/interfaces etc

2017-11-10 Thread RazvanN via Digitalmars-d-learn
On Thursday, 9 November 2017 at 14:21:52 UTC, Steven Schveighoffer wrote: On 11/8/17 10:45 PM, Andrey wrote: I just added to dub.json this: "-ddoxFilterArgs": [     "--min-protection=Public" ] i.e. without --only-documented option, in this way ddox will generate documentation for all publi

Re: ddox empty public methods/interfaces etc

2017-11-09 Thread Steven Schveighoffer via Digitalmars-d-learn
On 11/8/17 10:45 PM, Andrey wrote: I just added to dub.json this: "-ddoxFilterArgs": [     "--min-protection=Public" ] i.e. without --only-documented option, in this way ddox will generate documentation for all public methods, even if there is no docstring. Interesting. I misunderstood th

Re: ddox empty public methods/interfaces etc

2017-11-08 Thread Andrey via Digitalmars-d-learn
On Tuesday, 7 November 2017 at 14:02:28 UTC, Steven Schveighoffer wrote: On 11/6/17 11:01 PM, Andrey wrote: Hello is there way to automatically generate documentation for public methods, interfaces, fields etc.? e.g. now I should write somethink like this to generate documentation for enum Bac

Re: ddox empty public methods/interfaces etc

2017-11-07 Thread Steven Schveighoffer via Digitalmars-d-learn
On 11/6/17 11:01 PM, Andrey wrote: Hello is there way to automatically generate documentation for public methods, interfaces, fields etc.? e.g. now I should write somethink like this to generate documentation for enum Bacgkround: /// enum Background {     transparent,  ///     light,  ///     d

ddox empty public methods/interfaces etc

2017-11-06 Thread Andrey via Digitalmars-d-learn
Hello is there way to automatically generate documentation for public methods, interfaces, fields etc.? e.g. now I should write somethink like this to generate documentation for enum Bacgkround: /// enum Background { transparent, /// light, /// dark, /// action, /// Backgroun