January 09, 2015 Re: Ready to make page-per-item ddocs the default? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Fri, Jan 09, 2015 at 11:46:47AM -0800, Andrei Alexandrescu via Digitalmars-d wrote: [...] > Stuff's up! http://dlang.org/library-prerelease/core/stdc/complex.html. I couldn't get rid of the darn space between the header name and the period. [...] Isn't this caused by the fact that the various *REF*/*LINK* macros insert gratuitous 's after the link? I ran into this several times while rewriting std.algorithm docs, and it's very annoying, since it precludes using these macros in many places where I'd like to use them. I've had to rephrase sentences just so the extraneous spaces don't show up in the wrong place. T -- Programming is not just an act of telling a computer what to do: it is also an act of telling other programmers what you wished the computer to do. Both are important, and the latter deserves care. -- Andrew Morton |
January 09, 2015 Re: Ready to make page-per-item ddocs the default? | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | On Friday, 9 January 2015 at 20:00:27 UTC, H. S. Teoh via Digitalmars-d wrote:
> On Fri, Jan 09, 2015 at 11:46:47AM -0800, Andrei Alexandrescu via Digitalmars-d wrote:
> [...]
>> Stuff's up!
>> http://dlang.org/library-prerelease/core/stdc/complex.html. I couldn't
>> get rid of the darn space between the header name and the period.
> [...]
>
> Isn't this caused by the fact that the various *REF*/*LINK* macros
> insert gratuitous 's after the link? I ran into this several times
> while rewriting std.algorithm docs, and it's very annoying, since it
> precludes using these macros in many places where I'd like to use them.
> I've had to rephrase sentences just so the extraneous spaces don't show
> up in the wrong place.
>
>
> T
In this case there is a <span class="pln"> </span> that is 16px wide and occupies exactly the space you want to get rid of. It only shows up when viewing the HTML using the Chrome developer tools (F12). It's not in the page source.
|
January 09, 2015 Re: Ready to make page-per-item ddocs the default? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 01/09/2015 07:35 PM, Andrei Alexandrescu wrote:
> Maybe Calypso could be used for that? -- Andrei
What's calypso, can't find anything.
|
January 09, 2015 Re: Ready to make page-per-item ddocs the default? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tobias Pankrath | On 01/09/2015 09:29 PM, Tobias Pankrath wrote:
> In this case there is a <span class="pln"> </span> that is 16px wide and
> occupies exactly the space you want to get rid of. It only shows up when
> viewing the HTML using the Chrome developer tools (F12). It's not in the
> page source.
It's highlighted as D source.
|
January 09, 2015 Re: Ready to make page-per-item ddocs the default? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 2015-01-09 20:46, Andrei Alexandrescu wrote: > Stuff's up! http://dlang.org/library-prerelease/core/stdc/complex.html. > I couldn't get rid of the darn space between the header name and the > period. -- Andrei Is it just me or are the actual declarations missing? -- /Jacob Carlborg |
January 09, 2015 Re: Ready to make page-per-item ddocs the default? | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | On 1/9/15 11:58 AM, H. S. Teoh via Digitalmars-d wrote:
> On Fri, Jan 09, 2015 at 11:46:47AM -0800, Andrei Alexandrescu via Digitalmars-d wrote:
> [...]
>> Stuff's up!
>> http://dlang.org/library-prerelease/core/stdc/complex.html. I couldn't
>> get rid of the darn space between the header name and the period.
> [...]
>
> Isn't this caused by the fact that the various *REF*/*LINK* macros
> insert gratuitous 's after the link?
No, I looked; I think it's because of the newline thereafter. -- Andrei
|
January 09, 2015 Re: Ready to make page-per-item ddocs the default? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 1/9/15 12:59 PM, Jacob Carlborg wrote:
> On 2015-01-09 20:46, Andrei Alexandrescu wrote:
>
>> Stuff's up! http://dlang.org/library-prerelease/core/stdc/complex.html.
>> I couldn't get rid of the darn space between the header name and the
>> period. -- Andrei
>
> Is it just me or are the actual declarations missing?
>
Oh yah :o). Steve? -- Andrei
|
January 09, 2015 Re: Ready to make page-per-item ddocs the default? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 1/9/15 1:17 PM, Andrei Alexandrescu wrote: > On 1/9/15 12:59 PM, Jacob Carlborg wrote: >> On 2015-01-09 20:46, Andrei Alexandrescu wrote: >> >>> Stuff's up! http://dlang.org/library-prerelease/core/stdc/complex.html. >>> I couldn't get rid of the darn space between the header name and the >>> period. -- Andrei >> >> Is it just me or are the actual declarations missing? >> > Oh yah :o). Steve? -- Andrei http://dlang.org/library-prerelease/core/stdc/errno.html does list the enum values. -- Andrei |
January 09, 2015 Re: Ready to make page-per-item ddocs the default? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 1/9/15 1:18 PM, Andrei Alexandrescu wrote: > On 1/9/15 1:17 PM, Andrei Alexandrescu wrote: >> On 1/9/15 12:59 PM, Jacob Carlborg wrote: >>> On 2015-01-09 20:46, Andrei Alexandrescu wrote: >>> >>>> Stuff's up! http://dlang.org/library-prerelease/core/stdc/complex.html. >>>> I couldn't get rid of the darn space between the header name and the >>>> period. -- Andrei >>> >>> Is it just me or are the actual declarations missing? >>> >> Oh yah :o). Steve? -- Andrei > > http://dlang.org/library-prerelease/core/stdc/errno.html does list the > enum values. -- Andrei ... albeit wrongly: https://issues.dlang.org/show_bug.cgi?id=13961 -- Andrei |
January 09, 2015 Re: Ready to make page-per-item ddocs the default? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On 1/9/15 12:35 PM, Martin Nowak wrote: > On 01/09/2015 09:29 PM, Tobias Pankrath wrote: >> In this case there is a <span class="pln"> </span> that is 16px wide and >> occupies exactly the space you want to get rid of. It only shows up when >> viewing the HTML using the Chrome developer tools (F12). It's not in the >> page source. > > It's highlighted as D source. Found Waldo. Please review. https://github.com/D-Programming-Language/dlang.org/pull/756 -- Andrei |
Copyright © 1999-2021 by the D Language Foundation