cynthia / pytudes

Python programs to practice or demonstrate skills.
Other
1 stars 3 forks source link

Redo the ungodly mess that is the website build #1

Open cynthia opened 6 years ago

cynthia commented 6 years ago
  1. Jupyter notebooks (especially with jt) generate HTML files that are interestingly large.
  2. The index page is pretty pathetic.
  3. The landing page should probably be the index page.
  4. And the design could be better. Significantly better.
cynthia commented 6 years ago

A quick fix for 1 seems to be to just parse out the embedded style and do a link-rel, a nicer fix would be to just write a ipynb converter for this - but that smells a bit of yak shaving.

Although I do love yak shaving.

kkweon commented 6 years ago

or just use nbviewer ?

With some CSS, it looks pretty good

https://nbviewer.jupyter.org/github/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/blob/master/Chapter1_Introduction/Ch1_Introduction_PyMC3.ipynb

cynthia commented 6 years ago

This does look reasonable: https://nbviewer.jupyter.org/github/cynthia/pytudes/blob/gh-pages/ipynb/Cheryl.ipynb

Seems like a reasonable compromise (over the jupyter HTML generator insanity that is currently being used, at least)

cynthia commented 6 years ago

Hmm, so I've been thinking about this - maybe it might be a better idea to just spit out a list of nbviewer links for the initial phase. (for simplicity)