Closed rpruim closed 8 years ago
This is a good idea -- I will work on this.
We already have a repo with the same name as the username that's correctly displaying the index.html page inside of it: http://beanumber.github.io/
Then, to create a page for the oiLabs project, we have to add branch named gh-pages
to the oiLabs repo. Then, anything pushed to gh-pages
will be displayed automatically at http://beanumber.github.io/oiLabs/
The gh-pages
branch should be one without any parent branches, according to this page: https://github.com/blog/272-github-pages. You can do this by using the --orphan
flag when making the branch: http://stackoverflow.com/questions/5689960/how-do-i-create-a-commit-without-a-parent-in-git
After the gh-pages
branch is made, we'll have to manually push the .html/.css lab files to it (which is annoying, because we're going to have to remember to update the gh pages versions when we make changes). We should also probably add an index.html file to that branch with a table of contents to access the labs.
Done.
Have you considered creating a gh-pages branch so that people can view these labs in a browser without having to go through extra steps? Or are they availalbe already somewhere? Will OpenIntro be creating a link pointing to the mosaic version of the labs?