Skip to content

Commit 0df8669

Browse files
author
Jonathan Corbet
committed
docs: Instruct LaTeX to cope with deeper nesting
The addition of the XFS online fsck documentation starting with commit a8f6c2e ("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 <[email protected]> Tested-by: Akira Yokosawa <[email protected]> Cc: [email protected] # v6.4+ Link: https://lore.kernel.org/linux-doc/[email protected]/ Signed-off-by: Jonathan Corbet <[email protected]>
1 parent c23de7c commit 0df8669

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,12 @@ def get_cline_version():
388388
verbatimhintsturnover=false,
389389
''',
390390

391+
#
392+
# Some of our authors are fond of deep nesting; tell latex to
393+
# cope.
394+
#
395+
'maxlistdepth': '10',
396+
391397
# For CJK One-half spacing, need to be in front of hyperref
392398
'extrapackages': r'\usepackage{setspace}',
393399

0 commit comments

Comments
 (0)