<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">El 24/09/12 22:36, Jake Vanderplas
escribió:<br>
</div>
<blockquote cite="mid:50610A96.20507@astro.washington.edu"
type="cite">
<pre wrap="">Hi all,
I've been thinking about the best way to embed notebooks in sphinx
documentation using nbconvert. I've opened an initial PR at
<a class="moz-txt-link-freetext" href="http://github.com/ipython/nbconvert/pull/35/">http://github.com/ipython/nbconvert/pull/35/</a>
The current version is a simple sphinx extension based on the raw html
directive, but results in non-standard html that may not work in some
browsers (i.e., style tags outside the html header).
I'm still not sure the best way to progress, but I'd appreciate any
feedback or ideas.
Thanks!
Jake
_______________________________________________
IPython-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/ipython-dev">http://mail.scipy.org/mailman/listinfo/ipython-dev</a>
</pre>
</blockquote>
<br>
Hi Jake,<br>
<br>
I have been playing with nbconvert to embed the static html of the
notebook into a static site generator (nikola).<br>
I have also used the raw:: html directive and the css styling
provided by the html-header from nbconvert.<br>
I have also modified the template html provided by nikola.<br>
I am testing some other things, but you can see an example here:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://damianavila.github.com/Testing/">http://damianavila.github.com/Testing</a><br>
Maybe, as you suggest in the github discussion, you could write a
template in Sphinx to embed correctly the notebook.<br>
<br>
Cheers.<br>
<br>
Damián.<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>