JuliaPluto / static-export-template

A template to automatically convert Pluto notebooks to an HTML website with GitHub Pages. Demo page:
https://juliapluto.github.io/static-export-template/
96 stars 17 forks source link

Minimal example using Franklin #7

Open greimel opened 2 years ago

greimel commented 2 years ago

The computational thinking repo is quite overwhelming. It would be nice if there was a template repo similar to this one that has a very simple Franklin website that shows Pluto notebooks.

fonsp commented 2 years ago

I'm working on making the computational thinking repository simpler today!

greimel commented 2 years ago

Great, thanks :-)

@floswald has simplified the Compuational Thinking repo for his course https://floswald.github.io/NumericalMethods/ and I have been working on reducing his repo even more in a fork https://github.com/greimel/NumericalMethods to understand what's going on. I am hopeful that all these efforts will turn into a template repository soon :-)

fonsp commented 2 years ago

Awesome! I didn't know about those, I will take a look! My PR is here: https://github.com/mitmath/18S191/pull/120 , give it a try

floswald commented 2 years ago

Well not sure I simplified it so much , it’s pretty much a full copy of what you had done minus the sliderserver hook up. Thanks for sharing the excellent material by the way.

On Tue 23 Nov 2021 at 19:55, Fons van der Plas @.***> wrote:

Awesome! I didn't know about those, I will take a look! My PR is here: mitmath/18S191#120 https://github.com/mitmath/18S191/pull/120 , give it a try

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/JuliaPluto/static-export-template/issues/7#issuecomment-977016293, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHZM5RUTPPXA234UBYBILDUNPPSDANCNFSM5GAAT5VQ .

fonsp commented 2 years ago

The sliderserver hookup will also get simpler: instead of the 18S191 repository triggering the slider server to redeploy, the slider server can now autonomously watch the 18S191 repository and update itself: https://github.com/JuliaPluto/PlutoSliderServer.jl/releases/tag/v0.3.0 (I still need to update 18S191 to use this feature)

greimel commented 2 years ago

My PR is here: mitmath/18S191#120 , give it a try

I turned Fons' PR into a template repository (see the website this template generates)

Instructions (see also the README in the template repo)

The code should work fine for local preview and deployment on github pages.

xlxs4 commented 1 year ago

Were there any updates on this front since then? ^^ Thanks for all this amazing work btw

floswald commented 1 year ago

This is a good starting point I think https://rikhuijzer.github.io/JuliaTutorialsTemplate/

fonsp commented 1 year ago

The rewrite of the computational thinking site is done! Take a look at https://github.com/mitmath/18S191 (the Fall22 branch) cc @greimel

xlxs4 commented 1 year ago

That's great! Would it be possible for you to give any (very brief) pointers on the development process, if it's not much to ask?