-
Notifications
You must be signed in to change notification settings - Fork 484
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
🌟 New layout, new system #124
Conversation
Hi @fonsp! This looks amazing! Have been working on a template repository already? Or is forking this repository the way to go? |
Hey @greimel ! I have not worked on a template yet, but this time around, forking and editing for your own needs should be a bit simpler! TODO for the template:
Contributions are welcome! Let me know if you want to start using the new system :) I can prioritise writing documentation if you like. |
This looks very exciting. For a course I am teaching next spring, I am planning to have all my teaching materials as pluto notebooks in a public website and I'd be interested in using this format. A template would be super nice to have. I cloned the repository yesterday and started editing with my material, I could get things to work locally and I was amazed by how smoothly the plug-and-play went. One thing I couldnt figure out yet is how to bring the website to life. Particularly,
Do you have @fonsp thoughts/pointers on those? I'll need to work on this during summer/fall for my teaching anyway and I'd be happy to pay-back with helping setting up a generic template, or write some notes for future generations at least. |
Hey @lucaferranti ! What do you mean with bringing the website to life and "magic"? 😅 Do you mean how to make the html files available on a web domain (computationalthinking.mit.edu instead of localhost) or how to have @Bind working with PlutoSliderServer? For the first: we use github pages, see our github action files to learn more |
I am definitely planning to use JuliaPluto/PlutoSliderServer.jl#29 here! It will be very easy to set up, because the idea of JuliaPluto/PlutoSliderServer.jl#29 is:
In the case of our course, we will use JuliaPluto/PlutoSliderServer.jl#29 in hybrid mode: we still run a plutosliderserver on a linux server, but a subset of the notebooks will be fully precomputed and then shut down, instead of leaving them running. This will allow us to rent a server with less memory, or to host more lectures :) |
thanks for the reply @fonsp I drafted a MWE template from the new format here: https://github.com/lucaferranti/computational-thinking-template , as a bonus, I wrote in the README some notes while I was playing, mainly what to edit, how to set tracks etc. maybe it's useful. I am experimenting in combining JuliaPluto/PlutoSliderServer.jl#29 with the new format (see JuliaPluto/computational-thinking-template#1), in general it should work. The only things I need to figure out (I think) are
I'll play more with this during the weekend, but feel free to chim in if you have some comments / suggestions. |
Hey @lucaferranti , that's awesome!! ⭐ If you have time, I would love to have a short call! Right now would be perfect, the next days might be more difficult to schedule. Let me know! [email protected] |
Hi @fonsp , very nice to hear, just sent you an email |
This is a complete rewrite of our website! It uses a special new system, PlutoPages.jl.
New design
New search feature
Collapsible sidebar on small screens
Local development environment
PlutoPages.jl is written in... Pluto! When you run
julia develop.jl
, everything will launch automatically, including this dashboard with site generation progress:Schermopname.2022-11-01.om.20.24.57.mov
New features
The new PlutoPages system adds the following features:
book_model.jl
Pluto.frontmatter
fonsp/Pluto.jl#2008 and Frontmatter GUI fonsp/Pluto.jl#2104) is used for title, chapter, section, etc, so this information is now stored in the notebook file itself<iframe>
for the notebook embed<iframe>
for the notebook embed:Supersedes #120