Description: Fix sphinx deprecation of add_stylesheet
Bug-Ubuntu:  https://bugs.launchpad.net/bugs/2051302
Forwarded:   no, upstream using 1.7.9 sphinx
Last-Update: 2024-01-25
--- a/doc/nedge/src/conf.py
+++ b/doc/nedge/src/conf.py
@@ -278,4 +278,4 @@
 intersphinx_mapping = {'https://docs.python.org/': None}
 
 def setup(app):
-    app.add_stylesheet('css/ntop.css')
+    app.add_css_file('css/ntop.css')
--- a/doc/src/conf.py
+++ b/doc/src/conf.py
@@ -288,4 +288,4 @@
 intersphinx_mapping = {'https://docs.python.org/': None}
 
 def setup(app):
-    app.add_stylesheet('css/ntop.css')
+    app.add_css_file('css/ntop.css')
