Sfoglia il codice sorgente

Use add_css_file instead of add_stylesheet as requested by Sphinx

Stan Janssen 4 anni fa
parent
commit
064051447f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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