Skip to content

Commit

Permalink
Merge pull request #51 from mgeier/add-css-file
Browse files Browse the repository at this point in the history
Avoid a Sphinx warning: add_stylesheet -> add_css_file
  • Loading branch information
choldgraf authored Jan 10, 2020
2 parents 6e1113b + 397fd8f commit c4191e5
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 c4191e5

Please sign in to comment.