-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a template for the example gallery #8
Comments
Here is a hack method of having specific templates for specific pages: |
@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.The text was updated successfully, but these errors were encountered: