From: Guillaume Lambert Date: Fri, 7 May 2021 14:21:53 +0000 (+0200) Subject: CI: Replace a deprecated method in docs/conf.py X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=a71d8f5cfa3059bfa2ea3d8fd8493875306dbd7e;p=releng%2Fdocs.git 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 --- 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")