Hi,
I'm attempting to build a sphinx extension for the inclusion of ipython
notebooks, based on nbviewer [1].  I have a quick-and-dirty implementation
that works in HTML by deriving from the raw directive [2].  Eventually I
hope to write a better custom directive that supports latex output as well.

One issue I'm having now is that the HTML rendering of the notebook uses
CSS, so to do this correctly I need the notebook directive to cause CSS
code to be added to the <head></head> part of the HTML document.  Is there
a good, general way to do this within sphinx?

Also, if any sphinx gurus out there are interested in the ipython project
and would like to help with this patch, I'd greatly appreciate it.  This is
my first real dive into this sort of thing in sphinx...

Thanks
   Jake

[1] http://github.com/ipython/nbconvert/
[2] http://github.com/ipython/nbconvert/pull/35/

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to