Ok, so probably a little late (seem to be closed), and I'm supper not used to track, so I'll comment here. Looking at code in http://git.sagemath.org/sage.git/commit/?id=2fc399e25960514a3164080f800d867696480c49
TEMPLATE_PATH could technically be a list of path, as IPython uses Jinja filesystem loader (http://jinja.pocoo.org/docs/dev/api/#jinja2.FileSystemLoader) Thus you should be able to set it to "just" do : [os.path.join(SAGE_EXTCODE, 'notebook-ipython', 'templates'), path_to_ipython_template], The trick is, to set it to also use "path_to_ipython_template_parent_dir" : [ sge_template , ipython_parent_template , ipython_template ] which I'll shorten as [A,B,C] Then the file <foo.html> of (C) you want to overwrite, you create a file with the same name in (A), that extends <templates/foo.html>, that jinja find through (B). The file you don't overwrite, jinja find in C. Note that the "template" in <templates/foo.html> is because (B/templates == C). Does it make sens ? (though you might still need to ship a huge notebook.html) but we can fix that on IPython so that you can "just" overwrite the links. -- M -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.