From 7e0f4cf17c2ceb65a23747c395bf60646d44bbc8 Mon Sep 17 00:00:00 2001 From: Maciej Olko Date: Tue, 28 Oct 2025 14:37:26 +0100 Subject: [PATCH 1/3] Docs: PDF/LaTeX: bump max list depth Prevents LaTeX PDF build error `Too deeply nested`. (Regression from #139509.) --- Doc/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/conf.py b/Doc/conf.py index a8e376c0ae44fe..65f81ff0f8e229 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -359,6 +359,7 @@ 'papersize': 'a4paper', # The font size ('10pt', '11pt' or '12pt'). 'pointsize': '10pt', + 'maxlistdepth': 7, } # Grouping the document tree into LaTeX files. List of tuples From c496ba1e68bc2b2ed19ef94ab6876b2e293cbf85 Mon Sep 17 00:00:00 2001 From: Maciej Olko Date: Tue, 28 Oct 2025 14:40:10 +0100 Subject: [PATCH 2/3] Docs: PDF/LaTeX: bump max list depth Prevents LaTeX PDF build error `Too deeply nested`. (Regression from #139509.) --- Doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/conf.py b/Doc/conf.py index 65f81ff0f8e229..d7f224ea2210e2 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -359,7 +359,7 @@ 'papersize': 'a4paper', # The font size ('10pt', '11pt' or '12pt'). 'pointsize': '10pt', - 'maxlistdepth': 7, + 'maxlistdepth': 7, # for layers in reference/executionmodel.rst#Python Runtime Model, see #gh-139588 } # Grouping the document tree into LaTeX files. List of tuples From cb640646cbc3b537608693d77e373bee46268378 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Tue, 28 Oct 2025 19:50:40 +0000 Subject: [PATCH 3/3] Update Doc/conf.py --- Doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/conf.py b/Doc/conf.py index d7f224ea2210e2..f1dda10052e109 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -359,7 +359,7 @@ 'papersize': 'a4paper', # The font size ('10pt', '11pt' or '12pt'). 'pointsize': '10pt', - 'maxlistdepth': 7, # for layers in reference/executionmodel.rst#Python Runtime Model, see #gh-139588 + 'maxlistdepth': '8', # See https://github.com/python/cpython/issues/139588 } # Grouping the document tree into LaTeX files. List of tuples