Skip to content

Commit 835bb2b

Browse files
authored
Replace call to add_stylesheet with add_css_file
This should prevent documentation build failures with Sphinx 4.
1 parent 867c4af commit 835bb2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
]
3939

4040
def setup(app):
41-
app.add_stylesheet("hack.css")
41+
app.add_css_file("hack.css")
4242

4343
intersphinx_mapping = {
4444
"sphinx": ("http://www.sphinx-doc.org/en/stable/", None),

0 commit comments

Comments
 (0)