File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ dependencies:
1212  - bokeh=1.0.4 
1313  - plotly=3.9.0 
1414  - ipywidgets=7.4.2 
15-   - jupyter_sphinx=0.2.0  
15+   #   - jupyter_sphinx=0.2.1 
1616  - pip :
17+     - git+https://github.com/jbweston/jupyter-sphinx.git@feature/disable-stderr   #  XXX: removed when merged in
1718    - sphinx_fontawesome==0.0.6 
1819    - m2r==0.2.1 
Original file line number Diff line number Diff line change 1515import  os 
1616import  sys 
1717
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 )
1921
2022import  adaptive   # noqa: E402 
2123
24+ # Insert into PYTHONPATH so that jupyter-sphinx will pick it up 
25+ os .environ ["PYTHONPATH" ] =  ":" .join ((package_path , os .environ .get ("PYTHONPATH" , "" )))
26+ 
2227# -- Project information ----------------------------------------------------- 
2328
2429project  =  "adaptive" 
8893    "binderOptions" : {"repo" : "python-adaptive/adaptive" },
8994}
9095
96+ jupyter_execute_disable_stderr  =  True 
9197
9298# -- Options for HTML output ------------------------------------------------- 
9399
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments