QuantEcon / SimpleDifferentialOperators.jl

Library for simple upwind finite differences
MIT License
12 stars 2 forks source link

Ability to open html notebooks in the browser instead of downloading? #199

Closed jlperla closed 5 years ago

jlperla commented 5 years ago

See https://quantecon.github.io/SimpleDifferentialOperators.jl/stable/notebooks/

All of the links require a download. Is there any way to have them open in a browser instead? See https://github.com/QuantEcon/SimpleDifferentialOperators.jl/releases/download/v0.6.1/KFE.html for example.

arnavs commented 5 years ago

Unfortunately need to close this as impossible.

arnavs commented 5 years ago

Probably low priority for now, though.

jlperla commented 5 years ago

Focus on the HTML, which is the biggest issue. Why does that download instead of go to a page? Is there any way around that?

jlperla commented 5 years ago

The issue with the HTML could be dealt with if you could get nbviewer working. ipynb and pdfs are ok to download if there is no other way. But at this point, there is no way at all to browse the generated notebooks on the web.. We need to find a solution or change how the builds work.

arnavs commented 5 years ago

Turns out that nbviewer is the easiest approach; htmlgitpreview would've worked, but there's a redirect from the link we're shown in the release.

The actual modification is pretty simple; just replace https://github.com/ with the https://nbviewer.jupyter.org/urls/github.com/