fix build error for higher sphinx

This commit is contained in:
kreiserlee 2024-06-13 19:33:56 +08:00 committed by openkylin-cibot
parent 6cfbd44ea9
commit c493c8593e
3 changed files with 22 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
python-future (0.18.2-1-ok2) nile; urgency=medium
* hack around missing toint in sphinx
-- liyang <liyang01@kylinos.cn> Thu, 13 Jun 2024 19:32:52 +0800
python-future (0.18.2-1-ok1) nile; urgency=medium
* update upstream version

View File

@ -0,0 +1,15 @@
From: kreiserlee <liyang01@kylinos.cn>
Date: Thu, 13 Jun 2024 19:33:56 +0800
Subject: fix build error for higher sphinx
---
docs/_templates/sidebartoc.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/_templates/sidebartoc.html b/docs/_templates/sidebartoc.html
index 2edf636..945b763 100644
--- a/docs/_templates/sidebartoc.html
+++ b/docs/_templates/sidebartoc.html
@@ -1 +1 @@
-{{ toctree(maxdepth=toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
+{{ toctree(maxdepth=3, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}

View File

@ -1 +1,2 @@
0001-update-debian.patch
0002-fix-build-error-for-higher-sphinx.patch