convergenceIM / alpha-scientist

Apache License 2.0
70 stars 54 forks source link

Making notebooks downloadable #16

Closed convergenceIM closed 6 years ago

convergenceIM commented 6 years ago

Is it possible to make the source notebooks downloadable by site visitors (ideally with a link within the post itself)? It'd be a convenience for readers to be able to replicate the code w/o copy-paste.

yn-coder commented 6 years ago

Is link to github repo are enough? If not - then we need to copy the notebook to docs folder too.

convergenceIM commented 6 years ago

I think that'll be fine. Ideally, a link to the individual file would be slightly better. I wish github provided executable jupyter notebook environments rather than just nbviewer displays. It's a low priority thing

yn-coder commented 6 years ago

Add to page something like this

[Download](https://github.com/convergenceIM/alpha-scientist/blob/master/content/01_Data_management.ipynb)

Example output:

Download

convergenceIM commented 6 years ago

button_ipynb-notebook

Looks nice. I've added a button to sell-in-may with the link. Works best if reader rigth clicks and "save link as" so it downloads as an ipynb rather than html file