File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ dependencies:
12
12
- bokeh=1.0.4
13
13
- plotly=3.9.0
14
14
- ipywidgets=7.4.2
15
- - jupyter_sphinx=0.2.0
15
+ - jupyter_sphinx=0.2.1
16
16
- pip :
17
+ - git+https://github.com/jbweston/jupyter-sphinx.git@feature/disable-stderr
17
18
- sphinx_fontawesome==0.0.6
18
19
- m2r==0.2.1
Original file line number Diff line number Diff line change 15
15
import os
16
16
import sys
17
17
18
- sys .path .insert (0 , os .path .abspath ("../.." ))
18
+ package_path = os .path .abspath ("../.." )
19
+ # Insert into sys.path so that we can import adaptive here
20
+ sys .path .insert (0 , package_path )
19
21
20
22
import adaptive # noqa: E402
21
23
24
+ # Insert into PYTHONPATH so that jupyter-sphinx will pick it up
25
+ os .environ ["PYTHONPATH" ] = ":" .join ((package_path , os .environ .get ("PYTHONPATH" , "" )))
26
+
22
27
# -- Project information -----------------------------------------------------
23
28
24
29
project = "adaptive"
88
93
"binderOptions" : {"repo" : "python-adaptive/adaptive" },
89
94
}
90
95
96
+ jupyter_execute_disable_stderr = True
91
97
92
98
# -- Options for HTML output -------------------------------------------------
93
99
You can’t perform that action at this time.
0 commit comments