Closed frankier closed 10 months ago
BTW, for pages with non-cover images, we'd probably need to provide a theme template for people to use. I only provided the "None" theme version, but maybe you have other ideas?
Okay! I've updated this. Sorry for the long gap. I didn't quite initially understand your feedback on the first read and promptly forgot about this PR.
I've changed the default for generate_cover
to depend on whether cover
is specified. Now it won't try to generate a cover if one is specified explicitly, otherwise it will.
The stuff about ugly blank covers/inappropriate templates is understood now. I'm putting together other PRs for that so hopefully they can be merged independently.
I haven't added any documentation or tests yet, but I can along with revising the details of the implementation.
This PR addresses two issues.
readlines()
execution doesn't really make much sense. This can also be the case for interactive plots. So the PR adds a single optionexecute
which is true by default. Setting it to false disables all execution, but of course users can still execute the script or notebook on their machine or on binder.