Open moorepants opened 9 years ago
Here is a hack method of having specific templates for specific pages: http://stackoverflow.com/questions/13209597/override-html-page-template-for-a-specific-sphinx-document
@jcrist The above is the best thing I can find. I'm surprised I can't find anything else about this on the web. It seems like it would be a common feature request for Sphinx since all generic static site generators support ways to deploy different templates to different pages.
Yeah, it doesn't seem easily doable. That solution is kinda hackish, but not terrible. If we're only doing it for one page it shouldn't be too bad.
Yeah, I think this is the best bet. I looked pretty hard for other options. I'll get it setup this weekend.
Can you check into loading the correct css and stuff into sphinx to support notebook formats?
We will also need a template for "notebook" pages.
May be helpful: http://sphinx-ipynb.readthedocs.org/en/latest/howto.html
This should extend
page.html
and provide a grid structure for the example thumbnails. We need to figure out how to make Sphinx use this new template only for the example gallery page.