From 835bb2be9e00c50e5751d271380ac00fe98f8d07 Mon Sep 17 00:00:00 2001 From: Karolina Surma <33810531+befeleme@users.noreply.github.com> Date: Tue, 15 Jun 2021 18:47:42 +0200 Subject: [PATCH] Replace call to add_stylesheet with add_css_file This should prevent documentation build failures with Sphinx 4. --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index c3f6e2f..ab160e1 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -38,7 +38,7 @@ ] def setup(app): - app.add_stylesheet("hack.css") + app.add_css_file("hack.css") intersphinx_mapping = { "sphinx": ("http://www.sphinx-doc.org/en/stable/", None),