Closed rodolakis closed 1 year ago
Seems to be a common problem for all notebooks.
I can replicate this behavior in a local build.
In the editor:
After rebuilding the docs, here's the view in the browser:
Which uses this HTML code:
<p>What about extra cells?</p>
<div class="nbinput docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[1]:
</pre></div>
</div>
<div class="input_area highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="nb">print</span><span class="p">(</span><span class="s2">"Hello"</span><span class="p">)</span>
</pre></div>
</div>
</div>
<div class="nboutput nblast docutils container">
<div class="prompt empty docutils container">
</div>
<div class="output_area docutils container">
<div class="highlight"><pre>
Hello
</pre></div></div>
</div>
Apparently, the order of listing the Sphinx extensions is important. Problem goes away when this one is moved to the end of the list: https://github.com/BCDA-APS/bluesky_training/blob/9bc5b9e83bddbb46fbc4af02bc82767afaf08c4f/docs/source/conf.py#L27