-
Notifications
You must be signed in to change notification settings - Fork 20
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
Instructor view #108
Comments
It might be possible to add a custom HTML builder which generates the instructor view. |
This is indeed nice. We have the instructor guide as separate page or sometimes as visible boxes in the materials, I guess there was some decision as to why that is so earlier in the development? |
There is an advantage of having the instructor note rendered in the page of the material. When preparing the lesson, instructors are less likely to overlook it and more likely to keep it up-to-date. The separate pages have suffered from being overlooked and outdated. |
Another advantage is that inline tips easily show the context. |
I thought of something... in RTD you can have latest and stable versions side by side. If we call them learner and instructor instead it will work. We might be able to acheive it without RTD using something like: https://sphinx-versions.readthedocs.io/en/latest/ Then add a little CSS to toggle the instructor admonition between the 2 "versions" |
TIL about sphinx-versions. Thank you! However, sphinx-versions distinguishes based on branches/tags but we probably want both versions to appear in the same branch and same source code? |
To keep things up to date it may be good to have it all in one branch (and maybe even file?) 👍 I wonder how people would use it:
If we could have both learner view and instructor guide open in two different windows or the same but separate and scrolling somehow linked, could that help? Ie instructor could have the instructor stuff in not shared part of the screen? Or might collapsible blocks be a solution (like solutions in exercises?)? |
I imagined either collapsible blocks or a button/switch which can turn visibility on/off using JavaScript. |
If I see it right in Ashwins original suggestion the right image also has the instructor notes as collapsible blocks? Unless someone has time to develop some javascript or other solution to having the button/switch between learner and instructor view, should we start with integrating the instructor notes into the lesson material as collapsible blocks? It is already possible with the current setup, isn't it? Then we could still implement the switch later? |
Good plan. My recommendation is that instructor notes are tracked in the same file but then rendered somehow. And collapsible is a good first goal. And the nice thing is that such effort would not be wasted since one can then add a switch or differential rendering later without having to change content. |
CSS + JavaScript toggle button solution seems doable. I will think about it. |
One good thing about the carpentries workbench generator is that you get an instructor view, where directives such as instructor and break are obscured from the learner view.
This can be nice to have. So the questions which remain are:
Example
One selects it from the top-right corner
Comparison
The text was updated successfully, but these errors were encountered: