* what's the standard for em dashes in sphinx for YP docs?
@ 2021-08-28 16:08 Robert P. J. Day
2021-08-30 8:03 ` [docs] " Quentin Schulz
0 siblings, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2021-08-28 16:08 UTC (permalink / raw)
To: YP docs mailing list
i want to play with sentence structure, and in some places, the "em"
dash is clearly appropriate. apparently, a triple "---" renders nicely
into a long dash. is that the standard?
rday
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [docs] what's the standard for em dashes in sphinx for YP docs?
2021-08-28 16:08 what's the standard for em dashes in sphinx for YP docs? Robert P. J. Day
@ 2021-08-30 8:03 ` Quentin Schulz
2021-08-30 8:12 ` Robert P. J. Day
0 siblings, 1 reply; 6+ messages in thread
From: Quentin Schulz @ 2021-08-30 8:03 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: YP docs mailing list
Hi Robert,
On Sat, Aug 28, 2021 at 12:08:34PM -0400, Robert P. J. Day wrote:
>
> i want to play with sentence structure, and in some places, the "em"
> dash is clearly appropriate. apparently, a triple "---" renders nicely
> into a long dash. is that the standard?
>
The only issue I could see with using "em" dashes is that it makes it
harder to grep for them.
Also, we'll probably forget to enforce this in future patches :)
I don't have much more to add to the discussion though.
Cheers,
Quentin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [docs] what's the standard for em dashes in sphinx for YP docs?
2021-08-30 8:03 ` [docs] " Quentin Schulz
@ 2021-08-30 8:12 ` Robert P. J. Day
2021-08-30 12:51 ` Michael Opdenacker
0 siblings, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2021-08-30 8:12 UTC (permalink / raw)
To: Quentin Schulz; +Cc: YP docs mailing list
On Mon, 30 Aug 2021, Quentin Schulz wrote:
> Hi Robert,
>
> On Sat, Aug 28, 2021 at 12:08:34PM -0400, Robert P. J. Day wrote:
> >
> > i want to play with sentence structure, and in some places, the "em"
> > dash is clearly appropriate. apparently, a triple "---" renders nicely
> > into a long dash. is that the standard?
> >
>
> The only issue I could see with using "em" dashes is that it makes it
> harder to grep for them.
>
> Also, we'll probably forget to enforce this in future patches :)
>
> I don't have much more to add to the discussion though.
yeah, the instant i used a grep, i realized the worm can i was
opening up.
rday
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [docs] what's the standard for em dashes in sphinx for YP docs?
2021-08-30 8:12 ` Robert P. J. Day
@ 2021-08-30 12:51 ` Michael Opdenacker
2021-08-30 12:54 ` Robert P. J. Day
0 siblings, 1 reply; 6+ messages in thread
From: Michael Opdenacker @ 2021-08-30 12:51 UTC (permalink / raw)
To: Robert P. J. Day, Quentin Schulz; +Cc: YP docs mailing list
Hello,
On 8/30/21 10:12 AM, Robert P. J. Day wrote:
> On Mon, 30 Aug 2021, Quentin Schulz wrote:
>
>> Hi Robert,
>>
>> On Sat, Aug 28, 2021 at 12:08:34PM -0400, Robert P. J. Day wrote:
>>> i want to play with sentence structure, and in some places, the "em"
>>> dash is clearly appropriate. apparently, a triple "---" renders nicely
>>> into a long dash. is that the standard?
>>>
>> The only issue I could see with using "em" dashes is that it makes it
>> harder to grep for them.
>>
>> Also, we'll probably forget to enforce this in future patches :)
>>
>> I don't have much more to add to the discussion though.
> yeah, the instant i used a grep, i realized the worm can i was
> opening up.
Indeed (because of the use of "-" and "=" in styling paragraphs)!
However, that's still possible to catch unique instances of "---":
git grep -E "[^-](\-){3}[^-]"
After reading https://www.scribbr.com/language-rules/dashes/, it seems
to me that proper dashes ("--" for "en dashes" and "---" for "em
dashes") should still be used in proper documentation.
What would be the drawback of using those? Even if "---" and "--" alone
are a bit hard to grep, what else would they make harder to process?
Cheers,
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [docs] what's the standard for em dashes in sphinx for YP docs?
2021-08-30 12:51 ` Michael Opdenacker
@ 2021-08-30 12:54 ` Robert P. J. Day
2021-08-30 13:00 ` Michael Opdenacker
0 siblings, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2021-08-30 12:54 UTC (permalink / raw)
To: Michael Opdenacker; +Cc: Quentin Schulz, YP docs mailing list
On Mon, 30 Aug 2021, Michael Opdenacker wrote:
> Hello,
>
> On 8/30/21 10:12 AM, Robert P. J. Day wrote:
> > On Mon, 30 Aug 2021, Quentin Schulz wrote:
> >
> >> Hi Robert,
> >>
> >> On Sat, Aug 28, 2021 at 12:08:34PM -0400, Robert P. J. Day wrote:
> >>> i want to play with sentence structure, and in some places, the "em"
> >>> dash is clearly appropriate. apparently, a triple "---" renders nicely
> >>> into a long dash. is that the standard?
> >>>
> >> The only issue I could see with using "em" dashes is that it makes it
> >> harder to grep for them.
> >>
> >> Also, we'll probably forget to enforce this in future patches :)
> >>
> >> I don't have much more to add to the discussion though.
> > yeah, the instant i used a grep, i realized the worm can i was
> > opening up.
>
>
> Indeed (because of the use of "-" and "=" in styling paragraphs)!
> However, that's still possible to catch unique instances of "---":
> git grep -E "[^-](\-){3}[^-]"
>
> After reading https://www.scribbr.com/language-rules/dashes/, it
> seems to me that proper dashes ("--" for "en dashes" and "---" for
> "em dashes") should still be used in proper documentation.
>
> What would be the drawback of using those? Even if "---" and "--"
> alone are a bit hard to grep, what else would they make harder to
> process?
i will go with the consensus -- i asked only because there are
always places where one would properly use a comma, and others a
semi-colon, and others an em dash, and so on. (see what i did there?)
rday
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [docs] what's the standard for em dashes in sphinx for YP docs?
2021-08-30 12:54 ` Robert P. J. Day
@ 2021-08-30 13:00 ` Michael Opdenacker
0 siblings, 0 replies; 6+ messages in thread
From: Michael Opdenacker @ 2021-08-30 13:00 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: Quentin Schulz, YP docs mailing list
On 8/30/21 2:54 PM, Robert P. J. Day wrote:
>
> i will go with the consensus -- i asked only because there are
> always places where one would properly use a comma, and others a
> semi-colon, and others an em dash, and so on. (see what i did there?)
:D
Right, I believe we should follow the rules rather than inventing new
ones or having none.
So, I'll vote for the proper use of "--" (en dash) and "---" (em dash)
when suitable, and document this in the coding style I need to propose.
Any objections?
Cheers,
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-08-30 13:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-28 16:08 what's the standard for em dashes in sphinx for YP docs? Robert P. J. Day
2021-08-30 8:03 ` [docs] " Quentin Schulz
2021-08-30 8:12 ` Robert P. J. Day
2021-08-30 12:51 ` Michael Opdenacker
2021-08-30 12:54 ` Robert P. J. Day
2021-08-30 13:00 ` Michael Opdenacker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.