-
Notifications
You must be signed in to change notification settings - Fork 6
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
Write some examples #2
Comments
Ha! I'm excited about this but the docs were, um, not what I expected. 😂 Is the idea behind this extension what I expressed in jupyter-book/jupyter-book#455 / jupyter-book/jupyter-book#835? |
I'm not sure, this package is super super young, but maybe @najuzilu can check out those issues and see if she thinks those ideas are in scope for this package? |
Thanks @choldgraf for opening this issue. An exercise directive can easily be initiated by the following pattern: Similarly to the exercise directive, a solution directive links to a specific exercise directive. It can be initiated by the following pattern Going over @stefanv's issue, it looks like the one feature missing from the current implementation is the ability to hide (toggle sounds more appropriate) directives. One could achieve this by wrapping the directives with a I would also suggest we incorporate toggle as a directive option to override the behavior of specific directives. How does this sound? I should also address the need to hide such directives. We have already discussed the possibility of introducing a configuration value to hide all solutions (similar to I like @jni's suggestion. Just to clarify, would the exercise directive appear twice, once in the book's content and again in the appendix? |
Yup, that's exactly right! |
And thank you! 😊 🙏 |
I wonder if we could add another directive like |
My idea was rather to have a global config (or similar) to either copy the exercises over or only move the solutions. Definitely there should only be a single source of truth! |
maybe another option is to have a |
Just want to give you all a heads up that I'm going to tackle these ideas next. :-) |
It would be great to see examples of how you imagine these directives working so that folks can try it out!
also cc @jni and @stefanv who I think would be interested in this tool for their Elegant SciPy book?
The text was updated successfully, but these errors were encountered: