瀏覽代碼

Fix deprecation error

Jason Grout 4 年之前
父節點
當前提交
6a84be8c34
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/source/conf.py

+ 1 - 1
docs/source/conf.py

@@ -278,5 +278,5 @@ def setup(app):
         'enable_auto_doc_ref': False,
     }, True)
     app.add_transform(AutoStructify)
-    app.add_stylesheet('custom.css')  # may also be an URL
+    app.add_css_file('custom.css')  # may also be an URL
     build_api_docs(app.outdir)