conf.py: update deprecated stylesheet API; 'add_stylesheet()' renamed to 'add_css_file()'

This commit is contained in:
sommersoft 2020-04-09 08:47:33 -05:00
parent 61bab8e62e
commit cb818ca832

View File

@ -357,4 +357,4 @@ intersphinx_mapping = {"cpython": ('https://docs.python.org/3/', None),
"register": ('https://circuitpython.readthedocs.io/projects/register/en/latest/', None)}
def setup(app):
app.add_stylesheet("customstyle.css")
app.add_css_file("customstyle.css")