sphinx-contrib / images

sphinxcontrib-images extension
Apache License 2.0
17 stars 14 forks source link

Triggers RemovedInSphinx40Warning #11

Closed t-b closed 3 years ago

t-b commented 4 years ago

Using 0.9.2 and sphinx 3.0.0 I get the following warnings


/usr/local/lib/python3.7/dist-packages/sphinxcontrib/images.py:239:  RemovedInSphinx40Warning: The app.add_stylesheet() is deprecated.  Please use app.add_css_file() instead.
--
08-Apr-2020 08:08:10 | app.add_stylesheet(os.path.relpath(dest_file_path, STATICS_DIR_PATH))
08-Apr-2020 08:08:10 | /usr/local/lib/python3.7/dist-packages/sphinxcontrib/images.py:237:  RemovedInSphinx40Warning: The app.add_javascript() is deprecated.  Please use app.add_js_file() instead.
08-Apr-2020 08:08:10 | app.add_javascript(os.path.relpath(dest_file_path, STATICS_DIR_PATH))
jonascj commented 3 years ago

How time flies when you have a baby and a 3-year-old! Please accept my apologies for not attending to the PRs and issues in a timely fashion. I'll attend to them at the latest on August 29th and 30th (I have another project with deadline on August 28th).