DS4PS / cpp-528-spr-2020

Course shell for CPP 528 Foundations of Data Science III for Spring 2020.
http://ds4ps.org/cpp-528-spr-2020/
2 stars 0 forks source link

Add relative paths to assets referenced on GitHub #11

Closed cenuno closed 4 years ago

cenuno commented 4 years ago

Summary

I noticed a few of the links would open up in a new tab but nothing would show up. Upon further investigation, I realized the links were direct links so I swapped them with relative paths (e.g. from www.github.raw/... to articles/something.pdf.

I checked the replacement links and all open as they should.

lecy commented 4 years ago

It's funny because I try to beat students over the head with this point about data files in R. But I wasn't aware this worked with files on GitHub pages!

Do you have a pop-up blocker? The raw links initiate a PDF download. I wonder if that was the issue?

cenuno commented 4 years ago

I just recently became aware of this! Since then I've been hooked on relative paths. I do use Firefox as my browser so perhaps that was the issue?