Skip to contentSkip to conversation

rendering double dashes more emphatically

DISCUSSION Robert P. J. Day 4 participants 7 messages Mar 9, 2021 – Mar 10, 2021

lore
Share & tools
lore
#0 lore raw

reading bitbake user manual and, in section 1.5.2.2:

https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-intro.html#executing-tasks-against-a-set-of-recipe-files

in the first line of the second paragraph, the distinction between a single dash and a double dash seems to be pretty vague since, by default, i believe sphinx renders a double dash as simply an "em", so visually, it's just not as clear as it could be.

one possible fix is to mark up stuff like that with ``...``, since it seems it should be monospaced content anyway, and doing that renders double dashes nicely.

thoughts? other options?

rday

#1 lore raw

Hi Robert,

Quoted 10 lines · Robert P. J. Day

reading bitbake user manual and, in section 1.5.2.2:

https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-intro.html#executing-tasks-against-a-set-of-recipe-files

in the first line of the second paragraph, the distinction between a single dash and a double dash seems to be pretty vague since, by default, i believe sphinx renders a double dash as simply an "em", so visually, it's just not as clear as it could be.

Quoted 6 lines

one possible fix is to mark up stuff like that with ``...``, since it seems it should be monospaced content anyway, and doing that renders double dashes nicely.

thoughts? other options?

Considering in Yocto docs we usually use ``--options`` when not in code-blocks, I'd say it's pretty safe to do the same for bitbake documentation.

FWIW, I (or anyone else?) haven't gone through bitbake documentation since the move to sphinx to fix the leftover of the migration. Heck, I haven't even finished Yocto's one :/

Please send a patch :)

Thanks,
Quentin

#2 lore raw
Quoted 24 lines · Quentin Schulz

Hi Robert,

Quoted 10 lines · Robert P. J. Day

reading bitbake user manual and, in section 1.5.2.2:

https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-intro.html#executing-tasks-against-a-set-of-recipe-files

in the first line of the second paragraph, the distinction between a single dash and a double dash seems to be pretty vague since, by default, i believe sphinx renders a double dash as simply an "em", so visually, it's just not as clear as it could be.

Quoted 6 lines

one possible fix is to mark up stuff like that with ``...``, since it seems it should be monospaced content anyway, and doing that renders double dashes nicely.

thoughts? other options?

Considering in Yocto docs we usually use ``--options`` when not in code-blocks, I'd say it's pretty safe to do the same for bitbake documentation.

Quoted 5 lines

FWIW, I (or anyone else?) haven't gone through bitbake documentation since the move to sphinx to fix the leftover of the migration. Heck, I haven't even finished Yocto's one :/

Please send a patch :)

last question -- should patches to BB manual be sent to the YP docs
list, or to the bitbake-devel list, since BB docs are part of the BB checkout?

rday

#3 lore raw
Quoted 30 lines · Robert P. J. Day
Quoted 28 lines · Quentin Schulz

Hi Robert,

Quoted 10 lines · Robert P. J. Day

reading bitbake user manual and, in section 1.5.2.2:

https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-intro.html#executing-tasks-against-a-set-of-recipe-files

in the first line of the second paragraph, the distinction between a single dash and a double dash seems to be pretty vague since, by default, i believe sphinx renders a double dash as simply an "em", so visually, it's just not as clear as it could be.

Quoted 6 lines

one possible fix is to mark up stuff like that with ``...``, since it seems it should be monospaced content anyway, and doing that renders double dashes nicely.

thoughts? other options?

Considering in Yocto docs we usually use ``--options`` when not in code-blocks, I'd say it's pretty safe to do the same for bitbake documentation.

FWIW, I (or anyone else?) haven't gone through bitbake documentation since the move to sphinx to fix the leftover of the migration. Heck, I haven't even finished Yocto's one :/

Quoted 6 lines
Quoted 1 line

Please send a patch :)

last question -- should patches to BB manual be sent to the YP docs
list, or to the bitbake-devel list, since BB docs are part of the BB checkout?

I don't remember seeing patches for bitbake docs in my mailbox. I'm not subscribed to bitbake-devel ML, so I'd guess you should send to bitbake-devel :)

Send a patch and people will tell you anyway :)

Cheers,
Quentin

#4 lore raw
Quoted 39 lines · Quentin Schulz
Quoted 30 lines · Robert P. J. Day
Quoted 28 lines · Quentin Schulz

Hi Robert,

Quoted 10 lines · Robert P. J. Day

reading bitbake user manual and, in section 1.5.2.2:

https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-intro.html#executing-tasks-against-a-set-of-recipe-files

in the first line of the second paragraph, the distinction between a single dash and a double dash seems to be pretty vague since, by default, i believe sphinx renders a double dash as simply an "em", so visually, it's just not as clear as it could be.

Quoted 6 lines

one possible fix is to mark up stuff like that with ``...``, since it seems it should be monospaced content anyway, and doing that renders double dashes nicely.

thoughts? other options?

Considering in Yocto docs we usually use ``--options`` when not in code-blocks, I'd say it's pretty safe to do the same for bitbake documentation.

FWIW, I (or anyone else?) haven't gone through bitbake documentation since the move to sphinx to fix the leftover of the migration. Heck, I haven't even finished Yocto's one :/

Quoted 6 lines
Quoted 1 line

Please send a patch :)

last question -- should patches to BB manual be sent to the YP docs
list, or to the bitbake-devel list, since BB docs are part of the BB checkout?

Quoted 5 lines

I don't remember seeing patches for bitbake docs in my mailbox. I'm not subscribed to bitbake-devel ML, so I'd guess you should send to bitbake-devel :)

Send a patch and people will tell you anyway :)

It's bitbake-devel for bitbake. Though I wouldn't be against sending to yocto-docs as well to get more visibility from our sphinx local experts!
Richard?

Quoted 6 lines

Cheers,
Quentin

#5 lore raw
Quoted 8 lines · Nicolas Dechesne
Quoted 6 lines · Quentin Schulz

I don't remember seeing patches for bitbake docs in my mailbox. I'm not subscribed to bitbake-devel ML, so I'd guess you should send to bitbake-devel :)

Quoted 6 lines
Quoted 1 line

Send a patch and people will tell you anyway :)

It's bitbake-devel for bitbake. Though I wouldn't be against sending to yocto-docs as well to get more visibility from our sphinx local experts!
Richard?

Technically it is bitbake-devel as the docs are in bitbake's repo but sending to both might not be a bad idea even if it is cross posting.

Cheers,

Richard

#6 lore raw
In reply to Quentin Schulz
Quoted 17 lines · Quentin Schulz

Hi Robert,

Quoted 14 lines · Robert P. J. Day

reading bitbake user manual and, in section 1.5.2.2:

https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-intro.html#executing-tasks-against-a-set-of-recipe-files

in the first line of the second paragraph, the distinction between a single dash and a double dash seems to be pretty vague since, by default, i believe sphinx renders a double dash as simply an "em", so visually, it's just not as clear as it could be.

one possible fix is to mark up stuff like that with ``...``, since it seems it should be monospaced content anyway, and doing that renders double dashes nicely.

Quoted 6 lines
Quoted 2 lines

thoughts? other options?

Considering in Yocto docs we usually use ``--options`` when not in code-blocks, I'd say it's pretty safe to do the same for bitbake documentation.

last, really, really, nitpicky question about this rendering ... if
one renders in monospace, is it worth still surrounding that with double quotes? since there is an erratic mixture of those two styles. as in:

You can use the --c option to ...

versus

You can use the "--c" option to ...

Personally, I'd forego the quotes, but ... thoughts? Just trying to get a consistent feel for the rendering.

rday

p.s. also personally, for verbatim/monospaced rendering, i might pick a font that's not so visually similar to the regular text as it's rendered, at least in my browser.