<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/Documentation/sphinx-static, branch master</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2026-03-25T19:22:02+00:00</updated>
<entry>
<title>docs: allow long links to wrap per character to prevent page overflow</title>
<updated>2026-03-25T19:22:02+00:00</updated>
<author>
<name>Rito Rhymes</name>
<email>rito@ritovision.com</email>
</author>
<published>2026-03-23T15:24:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c464407ada06fdfc4d49bbb86085f02fd7f565c3'/>
<id>urn:sha1:c464407ada06fdfc4d49bbb86085f02fd7f565c3</id>
<content type='text'>
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 &lt;rito@ritovision.com&gt;
Assisted-by: Codex:GPT-5.4
Tested-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Acked-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260323152428.30483-1-rito@ritovision.com&gt;
</content>
</entry>
<entry>
<title>docs: allow long table reference links to wrap and prevent overflow</title>
<updated>2026-03-25T19:18:39+00:00</updated>
<author>
<name>Rito Rhymes</name>
<email>rito@ritovision.com</email>
</author>
<published>2026-03-23T15:24:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=127bdd9f12ae4e77cb74f06aa60e996a2d4baafa'/>
<id>urn:sha1:127bdd9f12ae4e77cb74f06aa60e996a2d4baafa</id>
<content type='text'>
Some documentation pages contain docutils tables with reference links
that use long unbroken strings. Those strings can expand the table
width beyond the content column and cause page-wide horizontal
overflow.

Allow reference links in docutils tables in the main document body to
wrap when needed so the table stays within the content column and does
not break page layout.

Examples:
  https://docs.kernel.org/6.15/arch/openrisc/openrisc_port.html
  https://docs.kernel.org/6.15/filesystems/ext2.html

Signed-off-by: Rito Rhymes &lt;rito@ritovision.com&gt;
Assisted-by: Codex:GPT-5.4
Tested-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Acked-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260323152428.30483-2-rito@ritovision.com&gt;
</content>
</entry>
<entry>
<title>docs: contain horizontal overflow in C API descriptions</title>
<updated>2026-03-25T19:17:13+00:00</updated>
<author>
<name>Rito Rhymes</name>
<email>rito@ritovision.com</email>
</author>
<published>2026-03-23T15:33:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3aff388bc4e8d64583d144f3be9c0aff9a54f14d'/>
<id>urn:sha1:3aff388bc4e8d64583d144f3be9c0aff9a54f14d</id>
<content type='text'>
Some documentation pages contain long C API signatures that can exceed
the content width and cause page-wide horizontal scroll overflow.

Apply contained horizontal scrolling to C API description blocks and
keep their signature rows on one line. This preserves signature
formatting while preventing them from breaking page layout.

Contained horizontal scrolling is preferred over wrapping here because
code fidelity is the priority. These blocks are intended to remain
representative of the code itself. Wrapping distorts spacing and line
structure, which affects fidelity, creates misleading renderings, and
reduces readability.

Examples:
  https://docs.kernel.org/6.15/driver-api/regulator.html
  https://docs.kernel.org/6.15/userspace-api/fwctl/fwctl-cxl.html

Signed-off-by: Rito Rhymes &lt;rito@ritovision.com&gt;
Assisted-by: Codex:GPT-5.4
Tested-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260323153342.33447-1-rito@ritovision.com&gt;
</content>
</entry>
<entry>
<title>docs: allow inline literals in paragraphs to wrap to prevent overflow</title>
<updated>2026-03-25T19:16:58+00:00</updated>
<author>
<name>Rito Rhymes</name>
<email>rito@ritovision.com</email>
</author>
<published>2026-03-23T15:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f2679ac773899f5fdea0b68d5077eef5f88dfd42'/>
<id>urn:sha1:f2679ac773899f5fdea0b68d5077eef5f88dfd42</id>
<content type='text'>
Some documentation pages contain long inline literals in paragraph
text that can force page-wide horizontal scroll overflow and break
layout on smaller screens.

Override the default `span.pre` white-space behavior for inline
literals and use `overflow-wrap: anywhere` so they can wrap when
needed. For code used as part of a paragraph, wrapping is appropriate
because it is stylistically part of the surrounding text. Code blocks,
by contrast, are meant to preserve formatting fidelity and are better
served by contained horizontal scrolling.

Examples:
  https://docs.kernel.org/6.15/userspace-api/futex2.html
  https://docs.kernel.org/6.15/security/IMA-templates.html

Signed-off-by: Rito Rhymes &lt;rito@ritovision.com&gt;
Assisted-by: Codex:GPT-5.4
Tested-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260323151401.27415-1-rito@ritovision.com&gt;
</content>
</entry>
<entry>
<title>docs: custom.css: add CSS for python</title>
<updated>2026-01-23T18:37:38+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab+huawei@kernel.org</email>
</author>
<published>2026-01-19T16:23:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4b8fae7a169afe26916eb3813b415ff28175a534'/>
<id>urn:sha1:4b8fae7a169afe26916eb3813b415ff28175a534</id>
<content type='text'>
As we'll start adding python to documentation, add some CSS
templates to better display python code.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;b5a3dfd551b887a2885b85b4c9433e757c77628a.1768838938.git.mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>docs: custom.css: prevent li marker to override text</title>
<updated>2026-01-23T18:37:38+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab+huawei@kernel.org</email>
</author>
<published>2026-01-19T16:23:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7bcdf96aff68ea0e588ed0d3675b4cc9d5da77df'/>
<id>urn:sha1:7bcdf96aff68ea0e588ed0d3675b4cc9d5da77df</id>
<content type='text'>
There's currently an issue with li marker: it is set to use
-1em, which actually makes it override the text. This is visible
on indexes that are deep enough.

Fix it.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;4f28c485b72ea27c0981cd950a1819597d6736b1.1768838938.git.mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>Documentation: CSS: Improve man page font</title>
<updated>2026-01-16T18:19:06+00:00</updated>
<author>
<name>Petr Vorel</name>
<email>pvorel@suse.cz</email>
</author>
<published>2026-01-13T11:36:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=653793b8a3e502fe379daef5995d5a052fb1b04f'/>
<id>urn:sha1:653793b8a3e502fe379daef5995d5a052fb1b04f</id>
<content type='text'>
Define man page font as monospace and bold, i.e. the same as what is
used for .code and &lt;pre&gt;.

Signed-off-by: Petr Vorel &lt;pvorel@suse.cz&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260113113612.315748-4-pvorel@suse.cz&gt;
</content>
</entry>
<entry>
<title>docs: CSS: make cross-reference links more evident</title>
<updated>2025-06-09T20:43:39+00:00</updated>
<author>
<name>Jonathan Corbet</name>
<email>corbet@lwn.net</email>
</author>
<published>2025-06-04T14:18:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2af88a039f224ebc838169d1ae5ac34fa12fd686'/>
<id>urn:sha1:2af88a039f224ebc838169d1ae5ac34fa12fd686</id>
<content type='text'>
The Sphinx Alabaster theme uses border-bottom to mark reference links; the
result does not render correctly (the underline is missing) in some browser
configurations.  Switch to using the standard text-underline property, and
use text-underline-offset to place that underline below any underscores in
the underlined text.

Suggested-by: Nícolas F. R. A. Prado &lt;nfraprado@collabora.com&gt;
Tested-by: Nícolas F. R. A. Prado &lt;nfraprado@collabora.com&gt;
Reviewed-by: Nícolas F. R. A. Prado &lt;nfraprado@collabora.com&gt;
Reviewed-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>docs: translations: add translations links when they exist</title>
<updated>2023-12-19T21:34:59+00:00</updated>
<author>
<name>Vegard Nossum</name>
<email>vegard.nossum@oracle.com</email>
</author>
<published>2023-12-15T12:37:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7418ec5b151f5591f750d57705cbb633c084a434'/>
<id>urn:sha1:7418ec5b151f5591f750d57705cbb633c084a434</id>
<content type='text'>
Add a new Sphinx extension that knows about the translations of kernel
documentation and can insert links to the translations at the top of
the document.

It basically works like this:

1. Register a new node type, LanguagesNode.

2. Register a new transform, TranslationsTransform, that inserts a new
   LanguageNode at the top of every document. The LanguageNode contains
   "pending references" to translations of the document. The key here
   is that these are pending (i.e. unresolved) references that may or
   may not actually exist.

3. Register a 'doctree-resolved' event that iterates over all the
   LanguageNode nodes. Any unresolved references are filtered out; the
   list of resolved references is passed to the 'translations.html'
   template and rendered as an HTML node (if HTML output is selected).

Testing: make htmldocs, make latexdocs with Sphinx v4.3.2 and Firefox.

v2:
- changed bar into a drop-down menu
- fixed language labels
- fixed hysteresis reported by Akira Yokosawa

Cc: Federico Vaga &lt;federico.vaga@vaga.pv.it&gt;
Cc: Jani Nikula &lt;jani.nikula@linux.intel.com&gt;
Cc: Akira Yokosawa &lt;akiyks@gmail.com&gt;
Cc: Yanteng Si &lt;siyanteng@loongson.cn&gt;
Signed-off-by: Vegard Nossum &lt;vegard.nossum@oracle.com&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Link: https://lore.kernel.org/r/20231215123701.2712807-1-vegard.nossum@oracle.com
</content>
</entry>
<entry>
<title>docs: Change &lt;h4&gt; style to use smaller font size than &lt;h3&gt;</title>
<updated>2023-12-15T16:03:43+00:00</updated>
<author>
<name>Donald Hunter</name>
<email>donald.hunter@gmail.com</email>
</author>
<published>2023-12-12T21:31:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=99aa6117a34eef02c135a7199c709541d4445677'/>
<id>urn:sha1:99aa6117a34eef02c135a7199c709541d4445677</id>
<content type='text'>
The docs currently have &lt;h3&gt; and &lt;h4&gt; set to the same font size which
makes headings hard to distinguish. &lt;h1&gt; to &lt;h3&gt; already have entries in
sphinx-static/custom.css to shrink their size a bit from the alabaster
theme.

Add &lt;h4&gt; to custom.css and set it to be smaller than &lt;h3&gt;.

Signed-off-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Link: https://lore.kernel.org/r/20231212213137.98453-1-donald.hunter@gmail.com
</content>
</entry>
</feed>
