Skip to content

Commit

Permalink
Replace call to add_stylesheet with add_css_file
Browse files Browse the repository at this point in the history
This should prevent documentation build failures with Sphinx 4.
  • Loading branch information
befeleme authored Jun 15, 2021
1 parent 867c4af commit 835bb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 835bb2b

Please sign in to comment.