Browse Source

Use add_css_file instead of add_stylesheet as requested by Sphinx

Stan Janssen 3 năm trước cách đây
mục cha
commit
064051447f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/conf.py

+ 1 - 1
docs/conf.py

@@ -63,4 +63,4 @@ html_static_path = ['_static']
 
 
 def setup(app):
-    app.add_stylesheet('css/custom.css')  # may also be an URL
+    app.add_css_file('css/custom.css')  # may also be an URL