sphinx conf.py: update add_stylesheet -> add_css_file

- Seems to be added in 1.0:
  https://www.sphinx-doc.org/en/latest/changes.html#release-1-0-jul-23-2010
This commit is contained in:
Richard Darst
2020-04-16 11:47:07 +03:00
parent 391320a590
commit c234463a67

View File

@@ -62,7 +62,7 @@ from recommonmark.transform import AutoStructify
def setup(app):
app.add_config_value('recommonmark_config', {'enable_eval_rst': True}, True)
app.add_stylesheet('custom.css')
app.add_css_file('custom.css')
app.add_transform(AutoStructify)