Description: Fix FTBFS with Sphinx 8.x: replace removed add_stylesheet API
 docs/conf.py calls app.add_stylesheet() which was removed in Sphinx 4.0, and
 the doc build in debian/rules override_dh_installdocs aborts with an
 AttributeError. Use the documented successor app.add_css_file() instead.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Forwarded: not-needed
Last-Update: 2026-09-05

--- pibootctl-0.5.2.orig/docs/conf.py
+++ pibootctl-0.5.2/docs/conf.py
@@ -116,7 +116,7 @@ htmlhelp_basename = '%sdoc' % info.name
 # Hack to make wide tables work properly in RTD
 # See https://github.com/snide/sphinx_rtd_theme/issues/117 for details
 def setup(app):
-    app.add_stylesheet('style_override.css')
+    app.add_css_file('style_override.css')
 
 # -- Options for LaTeX output ---------------------------------------------
 

