Skip to content
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

Open
moorepants opened this issue Feb 9, 2015 · 5 comments
Open

Create a template for the example gallery #8

moorepants opened this issue Feb 9, 2015 · 5 comments

Comments

@moorepants
Copy link
Member

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.

@moorepants
Copy link
Member Author

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

@moorepants
Copy link
Member Author

@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.

@jcrist
Copy link
Member

jcrist commented Feb 11, 2015

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.

@moorepants
Copy link
Member Author

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.

@moorepants
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants