[DOC] Fix sphinx add_stylesheet deprecated method 68/117368/3
authorGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 2 Feb 2021 14:35:50 +0000 (15:35 +0100)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 2 Feb 2021 14:58:38 +0000 (15:58 +0100)
by using add_css_file instead

Issue-ID: DOC-692
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ib8af980dc116fc551ca180c28cfb658bb6f86299

docs/conf.py

index 33552e8..296ef99 100644 (file)
@@ -99,7 +99,7 @@ linkcheck_ignore = [
 html_last_updated_fmt = '%d-%b-%y %H:%M'
 
 def setup(app):
-    app.add_stylesheet("css/ribbon.css")
+    app.add_css_file("css/ribbon.css")
 
 
 from docutils.parsers.rst import directives