docs: Instruct LaTeX to cope with deeper nesting
authorJonathan Corbet <corbet@lwn.net>
Mon, 19 Feb 2024 16:05:38 +0000 (09:05 -0700)
committerJonathan Corbet <corbet@lwn.net>
Tue, 20 Feb 2024 21:51:42 +0000 (14:51 -0700)
commit0df8669f69a8638f04c6a3d1f3b7056c2c18f62c
treed7068f0ed4e1f24a82b008b599c1d925d7872c65
parentc23de7ceae59e4ca5894c3ecf4f785c50c0fa428
docs: Instruct LaTeX to cope with deeper nesting

The addition of the XFS online fsck documentation starting with
commit a8f6c2e54ddc ("xfs: document the motivation for online fsck design")
added a deeper level of nesting than LaTeX is prepared to deal with.  That
caused a pdfdocs build failure with the helpful "Too deeply nested" error
message buried deeply in Documentation/output/filesystems.log.

Increase the "maxlistdepth" parameter to instruct LaTeX that it needs to
deal with the deeper nesting whether it wants to or not.

Suggested-by: Akira Yokosawa <akiyks@gmail.com>
Tested-by: Akira Yokosawa <akiyks@gmail.com>
Cc: stable@vger.kernel.org # v6.4+
Link: https://lore.kernel.org/linux-doc/67f6ac60-7957-4b92-9d72-a08fbad0e028@gmail.com/
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py