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
Passing custom resources to voila configuration #301
Passing custom resources to voila configuration #301
Conversation
I like the idea of allowing to specify resources through the Maybe a first way to do this would have the |
@SylvainCorlay we are on the same wavelength... It's cumbersome to write JSON at the command line, but maybe great docs could make up for this inconvenience (I guess users will end up copying-pasting...). Ok, so I'll implement the |
I wonder if we could hack traitlets to have a
for any valid name |
Oh, I hadn't seen your comment about I can see three additional improvements which would belong in this PR.
|
4144ed6
to
eecc5a4
Compare
This is looking good to me. I left an inline comment about the sort of recursive Small note: I rebased the PR on master and add a commit removing the |
This looks good to me. @maartenbreddels let me know if you have any comment on this before I merge. I would like to have a release including this so that @mkcor can iterate on the reveal template work. |
LGTM, the failure was a timeout in nbconvert (we might want to increase that limit), restarted the travis job. |
OK, I pushed a commit removing the (Since we can't elect any template-specific things to be part of the main voila package). |
Good point. I think if templates want to have specific resources, we could add that to conf.json, at least for defaults. |
So the idea is that the reveal template should work without the resource dictionary providing |
Example use (update):
|
Hello,
This PR overwrites #298 (previously submitted). Example use:
The config additions are almost copied-pasted from https://github.com/jupyter/nbconvert/blob/76061f8df164a742fc039b2574508bd8cf7d96a1/nbconvert/exporters/slides.py#L105-L130 -- should I add a comment about it?
/cc @maartenbreddels