| Thread overview | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
January 12, 2015 core.stdc.* documentation | ||||
|---|---|---|---|---|
| ||||
I just fixed documentation to generate docs for all symbols in core.stdc.complex. Looks unhelpful: http://erdani.com/d/library-prerelease/core/stdc/complex.html Any idea on how to make this better? Thanks, Andrei | ||||
January 12, 2015 Re: core.stdc.* documentation | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Monday, 12 January 2015 at 00:29:49 UTC, Andrei Alexandrescu wrote: > I just fixed documentation to generate docs for all symbols in core.stdc.complex. Looks unhelpful: > > http://erdani.com/d/library-prerelease/core/stdc/complex.html > > Any idea on how to make this better? > > > Thanks, > > Andrei Links to cppreference.com . Please not LUCKY, it often results in not-the-best or even straght not-good results. E.g. cacos/cacosf/cacosl: http://en.cppreference.com/w/c/numeric/complex/cacos | |||
January 12, 2015 Re: core.stdc.* documentation | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Kiith-Sa | On 1/11/15 5:04 PM, Kiith-Sa wrote:
> On Monday, 12 January 2015 at 00:29:49 UTC, Andrei Alexandrescu wrote:
>> I just fixed documentation to generate docs for all symbols in
>> core.stdc.complex. Looks unhelpful:
>>
>> http://erdani.com/d/library-prerelease/core/stdc/complex.html
>>
>> Any idea on how to make this better?
>>
>>
>> Thanks,
>>
>> Andrei
>
> Links to cppreference.com . Please not LUCKY, it often results in
> not-the-best or even straght not-good results.
>
> E.g. cacos/cacosf/cacosl:
> http://en.cppreference.com/w/c/numeric/complex/cacos
Problem is not that, but instead the repeated description. -- Andrei
| |||
January 12, 2015 Re: core.stdc.* documentation | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 2015-01-12 02:24, Andrei Alexandrescu wrote: > Problem is not that, but instead the repeated description. -- Andrei How about folding symbols with the same documentation, like "ditto" does? -- /Jacob Carlborg | |||
January 12, 2015 Re: core.stdc.* documentation | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 1/12/15 12:05 AM, Jacob Carlborg wrote:
> On 2015-01-12 02:24, Andrei Alexandrescu wrote:
>
>> Problem is not that, but instead the repeated description. -- Andrei
>
> How about folding symbols with the same documentation, like "ditto" does?
I used "ditto" to generate that. -- Andrei
| |||
January 12, 2015 Re: core.stdc.* documentation | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 1/11/15 7:29 PM, Andrei Alexandrescu wrote:
> I just fixed documentation to generate docs for all symbols in
> core.stdc.complex. Looks unhelpful:
>
> http://erdani.com/d/library-prerelease/core/stdc/complex.html
>
> Any idea on how to make this better?
Yeah, ddox should put the prototype in the overview. How annoying to have to click on the name to figure out what the function call requires as parameters. Is there a command-line parameter to fix this?
-Steve
| |||
January 12, 2015 Re: core.stdc.* documentation | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On 1/12/15 3:53 AM, Steven Schveighoffer wrote:
> On 1/11/15 7:29 PM, Andrei Alexandrescu wrote:
>> I just fixed documentation to generate docs for all symbols in
>> core.stdc.complex. Looks unhelpful:
>>
>> http://erdani.com/d/library-prerelease/core/stdc/complex.html
>>
>> Any idea on how to make this better?
>
> Yeah, ddox should put the prototype in the overview. How annoying to
> have to click on the name to figure out what the function call requires
> as parameters. Is there a command-line parameter to fix this?
>
> -Steve
Yah, for stdc it seems the page-per-module approach is better. -- Andrei
| |||
January 12, 2015 Re: core.stdc.* documentation | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 1/12/15 11:10 AM, Andrei Alexandrescu wrote:
> On 1/12/15 3:53 AM, Steven Schveighoffer wrote:
>> On 1/11/15 7:29 PM, Andrei Alexandrescu wrote:
>>> I just fixed documentation to generate docs for all symbols in
>>> core.stdc.complex. Looks unhelpful:
>>>
>>> http://erdani.com/d/library-prerelease/core/stdc/complex.html
>>>
>>> Any idea on how to make this better?
>>
>> Yeah, ddox should put the prototype in the overview. How annoying to
>> have to click on the name to figure out what the function call requires
>> as parameters. Is there a command-line parameter to fix this?
>>
>> -Steve
>
> Yah, for stdc it seems the page-per-module approach is better. -- Andrei
The ideal for me would be:
1. Show function + prototype (even if prototype is cut short but has popup to show full sig) and short description.
2. Have a "+" button or "more..." link that unhides the full docs inline.
Going to separate pages for each function is quite annoying.
In fact, I would say all leaf nodes should act this way instead of having their own page specifically. You would still have user defined constructs get their own page (classes, structs, templates, enums).
This would cut down tremendously on the noise and clicking.
-Steve
| |||
January 12, 2015 Re: core.stdc.* documentation | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On 1/12/15 10:38 AM, Steven Schveighoffer wrote:
> On 1/12/15 11:10 AM, Andrei Alexandrescu wrote:
>> On 1/12/15 3:53 AM, Steven Schveighoffer wrote:
>>> On 1/11/15 7:29 PM, Andrei Alexandrescu wrote:
>>>> I just fixed documentation to generate docs for all symbols in
>>>> core.stdc.complex. Looks unhelpful:
>>>>
>>>> http://erdani.com/d/library-prerelease/core/stdc/complex.html
>>>>
>>>> Any idea on how to make this better?
>>>
>>> Yeah, ddox should put the prototype in the overview. How annoying to
>>> have to click on the name to figure out what the function call requires
>>> as parameters. Is there a command-line parameter to fix this?
>>>
>>> -Steve
>>
>> Yah, for stdc it seems the page-per-module approach is better. -- Andrei
>
> The ideal for me would be:
>
> 1. Show function + prototype (even if prototype is cut short but has
> popup to show full sig) and short description.
> 2. Have a "+" button or "more..." link that unhides the full docs inline.
>
> Going to separate pages for each function is quite annoying.
>
> In fact, I would say all leaf nodes should act this way instead of
> having their own page specifically. You would still have user defined
> constructs get their own page (classes, structs, templates, enums).
>
> This would cut down tremendously on the noise and clicking.
>
> -Steve
Sounds good. Anyone want to take this? -- Andrei
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply