From b926cf0e51b9709f1230baccd8d86f04f96ad37f Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Tue, 26 Oct 2021 16:35:56 +0200 Subject: [PATCH] Fix deprected Sphinx API --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 0b6f474..70b4e22 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -269,4 +269,4 @@ def setup(app): # Add `>>>` button to toggle visibility of prompts in code blocks. # see https://github.com/readthedocs/sphinx_rtd_theme/issues/167 and # https://raw.githubusercontent.com/python/python-docs-theme/master/python_docs_theme/static/copybutton.js - app.add_javascript("copybutton.js") + app.add_js_file("copybutton.js") -- GitLab