Search code examples
githubgithub-pages

Publishing and linking files within a gh-pages branch in github


[Background: I don't have more than passing familiarity with html or other programming languages (except for the statistical package [R]), but in trying to follow a Coursera course I'm facing the challenge of presenting an assignment in gh-pages.]

I have a gh-pages branch here, which I labeled it Stuff, and contains an index.html file, accessible through this address http://rinterested.github.io/Stuff/ online. This is the Home or "anchor" page of the website, but I want to create other pages within http://rinterested.github.io/Stuff/. To this effect, I have been unsuccessfully playing with a toy document that at this point is within the same gh-pages folder and labeled Plotting-With-R.md. Why .md? Because after much searching online it got a lead indicating that this would turn the page into html... Don't ask.

Well, it's not working. Although the index.html is clearly accessible online the Plotting-With-R.md doesn't seem to be. So can you please help me with whatever I am doing wrong (preferably working directly with Github (not git)) to get this extra page published online, and linked to index.html?


Solution

  • To be able to access your Plotting-with-R.md file, you need to link to the html version since Jekyll converts it from .md to .html.