From a71d8f5cfa3059bfa2ea3d8fd8493875306dbd7e Mon Sep 17 00:00:00 2001 From: Guillaume Lambert Date: Fri, 7 May 2021 16:21:53 +0200 Subject: [PATCH] CI: Replace a deprecated method in docs/conf.py Sphinx method add_stylesheet() is deprecated. It now generates warnings at buildtime. The method add_css_file() must be used instead. Signed-off-by: Guillaume Lambert Change-Id: I5ddba780dd649d840ef7bf070b48bf771c9f8888 --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index e01ef1a..7198193 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -42,4 +42,4 @@ sphinx_tabs_valid_builders = ["linkcheck"] def setup(app): """Injects the report issue ribbon.""" - app.add_stylesheet("css/ribbon.css") + app.add_css_file("css/ribbon.css") -- 2.16.6