<div dir="ltr"><div><div><div>Hi Brad, <br><br></div>These look great. <br><br></div>Independently of the solution, seems that setting a webhook [1][2] to "convert" and "re-publish" the updated notebook each time there are updated would be great.<br>
<br></div>Jc<br><div><br>[1] <a href="https://help.github.com/articles/post-receive-hooks" target="_blank">https://help.github.com/articles/post-receive-hooks</a><br>[2] <a href="http://developer.github.com/v3/repos/hooks/" target="_blank">http://developer.github.com/v3/repos/hooks/</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 6, 2013 at 12:59 PM, Bradley Lowekamp <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I took the first steps to getting the SimpleITK Python Notebooks available as static web pages. They are linked from the Github Pages ( thanks for the suggestion) page:<br>
<br>
<a href="http://simpleitk.github.io/SimpleITK-Notebooks/" target="_blank">http://simpleitk.github.io/SimpleITK-Notebooks/</a><br>
<br>
I used nbconvert to change the ipynb to html. This is a separate manual process and requites the committing of the html with data into the gh-pages branch.<br>
<br>
<br>
The alternative, would be to use nbviewer:<br>
<br>
<a href="http://nbviewer.ipython.org" target="_blank">http://nbviewer.ipython.org</a><br>
<br>
This would entail saving the output in the ipynb, and then using the nbviewer like so:<br>
<br>
<a href="http://nbviewer.ipython.org/github/SimpleITK/SimpleITK-Notebooks/blob/master/01_Image_Basics.ipynb" target="_blank">http://nbviewer.ipython.org/github/SimpleITK/SimpleITK-Notebooks/blob/master/01_Image_Basics.ipynb</a><br>
<br>
This is much easier to maintain as no additional conversions or branches are really needed. I thought the bulk of the image data would be a size issue, but it's still in the repo with the pages approach.<br>
<br>
Does anyone have a thought on this choose? Would it be bad if the output was saved in the ipynb files too? How would this effect giving tutorials with the notebooks?<br>
<br>
Thanks for your thoughts,<br>
Brad<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://kitware.com/products/protraining.php" target="_blank">http://kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-developers" target="_blank">http://www.itk.org/mailman/listinfo/insight-developers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><a href="tel:%2B1%20919%20869%208849" value="+19198698849" target="_blank">+1 919 869 8849</a><br>
</div></div>