Running Sphinx v5.3.0
loading pickled environment... done
WARNING: The app.add_stylesheet() is deprecated. Please use app.add_css_file() instead.
Extension error (sphinxcontrib.osexample):
Handler <function add_assets at 0x7f4bc90a4ee0> for event 'builder-inited' threw an exception (exception:'Sphinx' object has no attribute 'add_javascript')
The fix maybe to migrate APIs (and observe any minor change in argument expectations):
app.add_javascript() => app.add_js_file()app.add_stylesheet() => app.add_css_file()
Hello,
I get this error: