On 2012-09-23, Jake Vanderplas wrote: > 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? You can specify a custom stylesheet in the config file. Günter -- 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.