Browse Source

docs: replace deprecated function ".add_stylesheet()" for Sphinx 4 compatibility

Felix Schwarz 4 years ago
parent
commit
396807e268
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/conf.py

+ 1 - 1
docs/conf.py

@@ -113,7 +113,7 @@ def set_rst_settings(app):
 
 
 def setup(app):
-    app.add_stylesheet('css/borg.css')
+    app.add_css_file('css/borg.css')
     app.connect('builder-inited', set_rst_settings)
 
 # Theme options are theme-specific and customize the look and feel of a theme