Thread overview
Something like godoc
Jan 09, 2013
MrOrdinaire
Jan 09, 2013
simendsjo
Jan 09, 2013
MrOrdinaire
Jan 09, 2013
H. S. Teoh
January 09, 2013
Hi,

In Go, I can just install the documentation and later consult it using the godoc command, e.g. `godoc fmt Println` would give the documentation for the Println Function inside the fmt package.

Is there anything like that for D?

Thanks,
Minh
January 09, 2013
On Wednesday, 9 January 2013 at 13:42:52 UTC, MrOrdinaire wrote:
> Hi,
>
> In Go, I can just install the documentation and later consult it using the godoc command, e.g. `godoc fmt Println` would give the documentation for the Println Function inside the fmt package.
>
> Is there anything like that for D?
>
> Thanks,
> Minh

dman: https://github.com/D-Programming-Language/tools/blob/master/dman.d
January 09, 2013
On Wednesday, 9 January 2013 at 14:09:30 UTC, simendsjo wrote:
> On Wednesday, 9 January 2013 at 13:42:52 UTC, MrOrdinaire wrote:
>> Hi,
>>
>> In Go, I can just install the documentation and later consult it using the godoc command, e.g. `godoc fmt Println` would give the documentation for the Println Function inside the fmt package.
>>
>> Is there anything like that for D?
>>
>> Thanks,
>> Minh
>
> dman: https://github.com/D-Programming-Language/tools/blob/master/dman.d

Thank you. That is a good find. But it's not quite what I want. godoc brings up installed documentation while dman opens up dlang site.
January 09, 2013
On Wed, Jan 09, 2013 at 03:21:53PM +0100, MrOrdinaire wrote:
> On Wednesday, 9 January 2013 at 14:09:30 UTC, simendsjo wrote:
> >On Wednesday, 9 January 2013 at 13:42:52 UTC, MrOrdinaire wrote:
> >>Hi,
> >>
> >>In Go, I can just install the documentation and later consult it using the godoc command, e.g. `godoc fmt Println` would give the documentation for the Println Function inside the fmt package.
[...]
> >dman: https://github.com/D-Programming-Language/tools/blob/master/dman.d
> 
> Thank you. That is a good find. But it's not quite what I want. godoc brings up installed documentation while dman opens up dlang site.

I don't think the current D packaging includes documentation.

It would be nice if it did, actually, and if it also bundles the equivalent of perldoc.


T

-- 
Sometimes the best solution to morale problems is just to fire all of the unhappy people. -- despair.com