[ITK Community] [Insight-developers] Rendered SimpleITK Notebooks

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Fri Dec 6 13:52:15 EST 2013


Hi Brad,

These look great.

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.

Jc

[1] https://help.github.com/articles/post-receive-hooks
[2] http://developer.github.com/v3/repos/hooks/


On Fri, Dec 6, 2013 at 12:59 PM, Bradley Lowekamp <blowekamp at mail.nih.gov>wrote:

> Hello,
>
> 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:
>
> http://simpleitk.github.io/SimpleITK-Notebooks/
>
> 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.
>
>
> The alternative, would be to use nbviewer:
>
> http://nbviewer.ipython.org
>
> This would entail saving the output in the ipynb, and then using the
> nbviewer like so:
>
>
> http://nbviewer.ipython.org/github/SimpleITK/SimpleITK-Notebooks/blob/master/01_Image_Basics.ipynb
>
> 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.
>
> 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?
>
> Thanks for your thoughts,
> Brad
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>



-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20131206/90f1c2d3/attachment.html>
-------------- next part --------------
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers


More information about the Community mailing list