<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/doc-guide/sphinx.rst, branch linux-rolling-lts</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-lts</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-lts'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-06-25T18:22:48Z</updated>
<entry>
<title>docs: sphinx: add a file with the requirements for lowest version</title>
<updated>2025-06-25T18:22:48Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2025-06-22T06:02:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9322af5e6557e547fa2be917e537dc297633ab93'/>
<id>urn:sha1:9322af5e6557e547fa2be917e537dc297633ab93</id>
<content type='text'>
Those days, it is hard to install a virtual env that would
build docs with Sphinx 3.4.3, as even python 3.13 is not
compatible anymore with it.

	/usr/bin/python3.9 -m venv sphinx_3.4.3
	. sphinx_3.4.3/bin/activate
	pip install -r Documentation/sphinx/min_requirements.txt

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Link: https://lore.kernel.org/r/e38a44ee64ebfa37eac5f64e47af51c7ac051d5a.1750571906.git.mchehab+huawei@kernel.org
</content>
</entry>
<entry>
<title>Docs: doc-guide: update sphinx.rst Sphinx version number</title>
<updated>2025-05-21T10:28:29Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2025-05-19T22:04:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6d886005d32e4380cee3d1095908875505ac2c6'/>
<id>urn:sha1:d6d886005d32e4380cee3d1095908875505ac2c6</id>
<content type='text'>
Update the minimum version number to match both
Documentation/Changes and Documentation/conf.py.

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Cc: Jonathan Corbet &lt;corbet@lwn.net&gt;
Cc: linux-doc@vger.kernel.org
Cc: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
Reviewed-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20250519220413.2914890-1-rdunlap@infradead.org&gt;
</content>
</entry>
<entry>
<title>docs: doc-guide: clarify latest theme usage</title>
<updated>2025-05-21T10:21:28Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2025-05-19T22:36:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ccab49c104c2237f1573961857d9b173fcd9a12'/>
<id>urn:sha1:5ccab49c104c2237f1573961857d9b173fcd9a12</id>
<content type='text'>
We have been using the Alabaster theme as the default theme since
Sept. 2022.

Keep the information on the RTD theme around in case someone wants to
try it with the DOCS_THEME environment variable.

Fixes: 26d797ffc1c0 ("docs: update sphinx.rst to reflect the default theme change")
Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Cc: Jonathan Corbet &lt;corbet@lwn.net&gt;
Cc: linux-doc@vger.kernel.org
Cc: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
Reviewed-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20250519223613.37277-1-rdunlap@infradead.org&gt;
</content>
</entry>
<entry>
<title>docs: drop the version constraints for sphinx and dependencies</title>
<updated>2024-03-03T15:17:20Z</updated>
<author>
<name>Lukas Bulwahn</name>
</author>
<published>2024-03-01T14:18:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b31274d58d2156cf884551426ec51315b7cc1ac9'/>
<id>urn:sha1:b31274d58d2156cf884551426ec51315b7cc1ac9</id>
<content type='text'>
As discussed (see Links), there is some inertia to move to the recent
Sphinx versions for the doc build environment.

As first step, drop the version constraints and the related comments. As
sphinx depends on jinja2, jinja2 is pulled in automatically. So drop that.
Then, the sphinx-pre-install script will fail though with:

  Can't get default sphinx version from ./Documentation/sphinx/requirements.txt at ./scripts/sphinx-pre-install line 305.

The script simply expects to parse a version constraint with Sphinx in the
requirements.txt. That version is used in the script for suggesting the
virtualenv directory name.

To suggest a virtualenv directory name, when there is no version given in
the requirements.txt, one could try to guess the version that would be
downloaded with 'pip install -r Documentation/sphinx/requirements.txt'.
However, there seems no simple way to get that version without actually
setting up the venv and running pip. So, instead, name the directory with
the fixed name 'sphinx_latest'.

Finally update the Sphinx build documentation to reflect this directory
name change.

Link: https://lore.kernel.org/linux-doc/874jf4m384.fsf@meer.lwn.net/
Link: https://lore.kernel.org/linux-doc/20240226093854.47830-1-lukas.bulwahn@gmail.com/
Reviewed-by: Akira Yokosawa &lt;akiyks@gmail.com&gt;
Tested-by: Vegard Nossum &lt;vegard.nossum@oracle.com&gt;
Signed-off-by: Lukas Bulwahn &lt;lukas.bulwahn@gmail.com&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20240301141800.30218-1-lukas.bulwahn@gmail.com&gt;
</content>
</entry>
<entry>
<title>Documentation: multiple .rst files: Fix grammar and more consistent formatting</title>
<updated>2024-02-05T17:24:54Z</updated>
<author>
<name>Thorsten Blum</name>
</author>
<published>2024-02-05T00:01:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40be2369dc0ee803b2bacf32471472604a948b88'/>
<id>urn:sha1:40be2369dc0ee803b2bacf32471472604a948b88</id>
<content type='text'>
sphinx.rst:
- Remove unnecessary newline
- Fix grammar s/on/in/
- Fix grammar s/check/checks/
- Capitalize heading "The C domain"

changes.rst:
- Remove colon after "pahole" to be consistent with other entries

howto.rst:
- Fix grammar s/you will/will you/
- Hyphenate "real-world problems"

Signed-off-by: Thorsten Blum &lt;thorsten.blum@toblux.com&gt;
Reviewed-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Link: https://lore.kernel.org/r/20240205000117.3285-1-thorsten.blum@toblux.com
</content>
</entry>
<entry>
<title>docs: Raise the minimum Sphinx requirement to 2.4.4</title>
<updated>2023-12-15T15:36:33Z</updated>
<author>
<name>Jonathan Corbet</name>
</author>
<published>2023-12-08T23:10:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3e893e16af55eeeca8faebabcb36fe78c854ba21'/>
<id>urn:sha1:3e893e16af55eeeca8faebabcb36fe78c854ba21</id>
<content type='text'>
Commit 31abfdda6527 (docs: Deprecate use of Sphinx &lt; 2.4.x) in 6.2 added a
warning that support for older versions of Sphinx would be going away.
There have been no complaints, so the time has come.  Raise the minimum
Sphinx version to 2.4.4 and clean out some compatibility code that we no
longer need.

Reviewed-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
Link: https://lore.kernel.org/r/874jgs47fq.fsf@meer.lwn.net
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>docs: automarkup: linkify git revs</title>
<updated>2023-11-17T20:13:24Z</updated>
<author>
<name>Vegard Nossum</name>
</author>
<published>2023-10-27T11:54:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=86b17aaf2e887355e4f70dd9c4897f6a06fa9b32'/>
<id>urn:sha1:86b17aaf2e887355e4f70dd9c4897f6a06fa9b32</id>
<content type='text'>
There aren't a ton of references to commits in the documentation, but
they do exist, and we can use automarkup to linkify them to make them
easier to follow.

Use something like this to find references to commits:

  git grep -P 'commit.*[0-9a-f]{8,}' Documentation/

Also fix a few of these to standardize on the exact format that is
already used in changelogs.

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/20231027115420.205279-1-vegard.nossum@oracle.com
</content>
</entry>
<entry>
<title>docs/doc-guide: Clarify how to write tables</title>
<updated>2023-06-09T07:57:56Z</updated>
<author>
<name>Joe Stringer</name>
</author>
<published>2023-04-24T17:18:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=35d4a3c67eb5fe786e93e06df103fc3f181eaf07'/>
<id>urn:sha1:35d4a3c67eb5fe786e93e06df103fc3f181eaf07</id>
<content type='text'>
Prior to this commit, the kernel docs writing guide spent over a page
describing exactly how *not* to write tables into the kernel docs,
without providing a example about the desired format.

This patch provides a positive example first in the guide so that it's
harder to miss, then leaves the existing less desirable approach below
for contributors to follow if they have some stronger justification for
why to use that approach.

Signed-off-by: Joe Stringer &lt;joe@isovalent.com&gt;
Reviewed-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Link: https://lore.kernel.org/r/20230424171850.3612317-1-joe@isovalent.com
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>docs: update sphinx.rst to reflect the default theme change</title>
<updated>2022-10-13T17:14:36Z</updated>
<author>
<name>Jonathan Corbet</name>
</author>
<published>2022-09-27T16:41:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=26d797ffc1c06f05ccc06f70977ebe386d628f14'/>
<id>urn:sha1:26d797ffc1c06f05ccc06f70977ebe386d628f14</id>
<content type='text'>
We don't default to Read The Docs anymore; update the docs to match.

Acked-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>docs/doc-guide: Add documentation on SPHINX_IMGMATH</title>
<updated>2022-09-29T19:13:45Z</updated>
<author>
<name>Akira Yokosawa</name>
</author>
<published>2022-09-16T10:08:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=679b4bc25fc7b5b742622eb760211f2b5b1dc4db'/>
<id>urn:sha1:679b4bc25fc7b5b742622eb760211f2b5b1dc4db</id>
<content type='text'>
Now that building html docs with math expressions does not need texlive
packages, remove the note on the requirement in the "Sphinx Install"
section.

Instead, add sections of "Math Expressions in HTML" and "Choice of Math
Renderer".
Describe the effect of setting SPHINX_IMGMATH in the latter section.

Signed-off-by: Akira Yokosawa &lt;akiyks@gmail.com&gt;
Cc: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
Cc: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Link: https://lore.kernel.org/r/a67e3279-6bc7-ee2c-2b49-9275252460b0@gmail.com
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
</feed>
