From ac9dbbb664c4cba16a112ae729e0a27cfb6bde81 Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Sun, 17 Jan 2021 14:02:15 +0000 Subject: [PATCH] Use local requirejs Author: Rebecca N. Palmer Forwarded: not-needed Gbp-Pq: Name sphinx_local_requirejs.patch --- docs/source/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 772b27e..3980a47 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -66,6 +66,8 @@ else: # nbsphinx options nbsphinx_allow_errors = True +nbsphinx_requirejs_path="file:///usr/share/javascript/requirejs/require.min.js" +nbsphinx_requirejs_options={"crossorigin":"anonymous"} ipython_warning_is_error = False # sphinxcontrib-spelling options spelling_word_list_filename = ['spelling_wordlist.txt', 'names_wordlist.txt'] -- 2.30.2