Thanks Günter, I'd thought of that, but I'd prefer this to be as easy for users as possible: that is, they can just load the sphinx extension, and not have to modify their style sheet. Is there any way to modify what is within <head></head> without using a custom style sheet? Jake
On Mon, Sep 24, 2012 at 12:52 PM, Guenter Milde <[email protected]> wrote: > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sphinx-dev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
