Sample Course Repository

This repository is one example of how you may want to structure your course repository. Below are some key features of this structure.

Repository Structure

  1. All content is on the gh-pages branch.

    • By putting content on the gh-pages branch (as opposed to the master) branch, GitHub will automatically create a site for your repository. You can view the site for this repo at https://gunjanbaid.github.io/course-repo-example.
    • All markdown (.md) files that have a heading (lines starting with hashes) will be published.
    • Markdown files without headings will not be published.
  2. Separate folders for each semester

  3. Separate folders for hw, labs, lec, proj in each semester's folder.

  4. Separate index.md files in each semester's folder.

Other Features

  1. You can find examples of how to set up OK in the hw02 and lab02 folders. Specifically, there are examples of how to set up student-side autograding and submission.

  2. You do not have to use the gh-pages to publish content. You can also use the master branch. To do so, select the desired branch as the GitHub Pages source under your repository's settings (shown below).

  3. The theme for the site can be changed very easily through the repository's settings tab. First, click on the settings tab. Then, scroll to the GitHub pages section. You may update the site theme by clicking on Choose Theme.

image image