From: Guillaume Lambert Date: Tue, 2 Feb 2021 14:35:50 +0000 (+0100) Subject: [DOC] Fix sphinx add_stylesheet deprecated method X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e1dcdbe27fc4c736542e42f968b8fb0c86abe8e0;p=doc.git [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) --- 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