Skip to content

Commit

Permalink
Avoid a Sphinx warning: add_stylesheet -> add_css_file
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Jan 9, 2020
1 parent 6e1113b commit 397fd8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx_copybutton/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def setup(app):
app.add_config_value("copybutton_skip_text", ">>> ", "html")

# Add relevant code to headers
app.add_stylesheet('copybutton.css')
app.add_css_file('copybutton.css')
app.add_js_file('clipboard.min.js')
app.add_js_file("copybutton.js")
return {"version": __version__,
Expand Down

0 comments on commit 397fd8f

Please sign in to comment.