Skip to content

docs: improve readability with left padding adjustments

Rito Rhymes linux-doc lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3docs: add left padding to TOC listsDocumentation/sphinx-static/custom.css+1 -00 replies
2/3docs: restore left padding in preformatted blocksDocumentation/sphinx-static/custom.css+2 -10 replies
3/3docs: add left padding to C API signature rowsDocumentation/sphinx-static/custom.css+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] docs: improve readability with left padding adjustments

These changes address a few different places where the first character of rendered text sits too close to the left edge of a contrasting container, which affects readability.

Add a small amount of left padding to those areas to create clearer visual separation from the contrasting edge and improve readability.

Demo site example (all changes visible here):
https://kernel-docs-pl.ritovision.com/userspace-api/liveupdate.html

Screenshots for this series are here:
https://github.com/ritovision/linux-kernel-docs/issues/5

For convenience, anyone is welcome to post additional screenshots in that GitHub issue for hosting and reference them in discussion of this series.

TOC lists - before:
https://github.com/user-attachments/assets/994ec5b6-c044-4f5a-bb58-fbf561481ffe

TOC lists - after:
https://github.com/user-attachments/assets/2bced41d-d0b6-44e8-ae28-3e4f721f47d5

Pre and signature - before:
https://github.com/user-attachments/assets/ec063580-9f5c-460d-afc6-3498917c863c

Pre and signature - after:
https://github.com/user-attachments/assets/b5f87275-e4cc-4687-8ca2-42fabb767c2d

Rito Rhymes (3):
docs: add left padding to TOC lists
docs: restore left padding in preformatted blocks
docs: add left padding to C API signature rows

 Documentation/sphinx-static/custom.css | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Signature · 1 line
2.51.0