[DOC] Fix sphinx add_stylesheet deprecated method 88/117688/4
authorGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 2 Feb 2021 14:35:50 +0000 (15:35 +0100)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Mon, 15 Feb 2021 13:51:14 +0000 (14:51 +0100)
by using add_css_file instead

Issue-ID: DOC-692
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ib8af980dc116fc551ca180c28cfb658bb6f86299
(cherry picked from commit 3e25eeb9b2c67473ed1513fa1c6aad0ab68f9edc)

docs/conf.py

index 4dfc64e..ed120e2 100644 (file)
@@ -105,7 +105,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