Explorar el Código

Use add_css_file instead of add_stylesheet as requested by Sphinx

Stan Janssen hace 4 años
padre
commit
078bfbeb4c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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