reproducible-research / scipy-tutorial-2014

Tutorial on reproducible research practices at SciPy 2014
http://reproducible-research.github.io/scipy-tutorial-2014/
Apache License 2.0
29 stars 95 forks source link

Add support for relative url with single template approach #6

Closed jcfr closed 10 years ago

jcfr commented 10 years ago

Commit 9b387e9 updated the layout to have a single _template.html, the issue is that because the base url to serve page on github page and locally with dexy are different (github.com/scipy-tutorial-2014/ vs localhost/) having absolute url encoded in the template doesn't work any more to accommodate both.

Few possible approaches:

ananelson commented 10 years ago

What's getting uploaded to github pages? Why are they different?

jcfr commented 10 years ago

This is now fixed ... the github pages were including scipy-tutorial-2014 as a prefix, commit 89f4d16cd9 fix the github side of things, then commit c0425d5 fixes the dexy serve side that was itself broken by 89f4d16cd9 ...