From e1dcdbe27fc4c736542e42f968b8fb0c86abe8e0 Mon Sep 17 00:00:00 2001 From: Guillaume Lambert Date: Tue, 2 Feb 2021 15:35:50 +0100 Subject: [DOC] Fix sphinx add_stylesheet deprecated method by using add_css_file instead Issue-ID: DOC-692 Signed-off-by: Guillaume Lambert Change-Id: Ib8af980dc116fc551ca180c28cfb658bb6f86299 (cherry picked from commit 3e25eeb9b2c67473ed1513fa1c6aad0ab68f9edc) --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 4dfc64ece..ed120e210 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 -- cgit 1.2.3-korg