]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: allow long links to wrap per character to prevent page overflow
authorRito Rhymes <rito@ritovision.com>
Mon, 23 Mar 2026 15:24:27 +0000 (11:24 -0400)
committerJonathan Corbet <corbet@lwn.net>
Wed, 25 Mar 2026 19:22:02 +0000 (13:22 -0600)
commitc464407ada06fdfc4d49bbb86085f02fd7f565c3
tree4e391a344415863e44dd57afaf851c88fc49b853
parent127bdd9f12ae4e77cb74f06aa60e996a2d4baafa
docs: allow long links to wrap per character to prevent page overflow

Some documentation pages contain long link text without natural
break points, which can force page-wide horizontal scroll overflow
on small screens.

Use overflow-wrap: anywhere for anchor text in the docs stylesheet so
links can wrap per character as a fallback when normal word boundaries
are unavailable.

Examples:
  https://docs.kernel.org/6.15/firmware-guide/acpi/non-d0-probe.html
  https://docs.kernel.org/6.15/arch/x86/earlyprintk.html

Signed-off-by: Rito Rhymes <rito@ritovision.com>
Assisted-by: Codex:GPT-5.4
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260323152428.30483-1-rito@ritovision.com>
Documentation/sphinx-static/custom.css