From: Thanh Ha Date: Tue, 27 Oct 2020 18:09:48 +0000 (-0400) Subject: Resolve app.add_stylesheet() is deprecated X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=764a21e68bbc7c993d02382f5d09d21854540a95;p=docs.git Resolve app.add_stylesheet() is deprecated /w/workspace/docs-tox-verify-silicon/docs/conf.py:74: RemovedInSphinx40Warning: The app.add_stylesheet() is deprecated. Please use app.add_css_file() instead. Signed-off-by: Thanh Ha Change-Id: I2d44a41d240381e2b1f9dee70aa5af2bed7acd1d --- diff --git a/docs/conf.py b/docs/conf.py index bf9479455..e80870900 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -70,4 +70,4 @@ html_context = { } def setup(app): - app.add_stylesheet("css/ribbon.css") + app.add_css_file("css/ribbon.css")