summaryrefslogtreecommitdiff
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-02-25 10:58:12 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2024-02-25 10:58:12 -0800
commit70ff1fe626a166dcaadb5a81bfe75e22c91f5dbf (patch)
treefc356e9a1c268b829cd4e20b624ccec463773f34 /Documentation/conf.py
parentc46ac50ebec33907e5768012aa39ba1ab2f0ca14 (diff)
parentb7b2ffc3ca59b06397550f96febe95f3f153eb1e (diff)
Merge tag 'docs-6.8-fixes3' of git://git.lwn.net/linux
Pull two documentation build fixes from Jonathan Corbet: - The XFS online fsck documentation uses incredibly deeply nested subsection and list nesting; that broke the PDF docs build. Tweak a parameter to tell LaTeX to allow the deeper nesting. - Fix a 6.8 PDF-build regression * tag 'docs-6.8-fixes3' of git://git.lwn.net/linux: docs: translations: use attribute to store current language docs: Instruct LaTeX to cope with deeper nesting
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 5830b01c5642..da64c9fb7e07 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -388,6 +388,12 @@ latex_elements = {
verbatimhintsturnover=false,
''',
+ #
+ # Some of our authors are fond of deep nesting; tell latex to
+ # cope.
+ #
+ 'maxlistdepth': '10',
+
# For CJK One-half spacing, need to be in front of hyperref
'extrapackages': r'\usepackage{setspace}',