Skip to content

Create-With-Code-Master/canvas-cwc-assignment-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canvas Assignment Template

Base template for Canvas assignments. Currently (September of 2019) it does not appear to be possible to pull changes from the template into a repository that was based on the template.

Each assignment is its own repository. The content that is visible on Canvas is in the docs folder.

Usage

This template is the boilerplate for a single Canvas assignment.

  1. In Settings enable GitHub Pages using the docs folder on the master branch.
  2. Create an assignment on Canvas.
  3. Edit the assignment:
    • Switch to HTML mode.
    • Add an <iframe src="" width="100%" height="660px"> tag.
    • Use the GitHub pages URL of this repository as the src artribute of the iframe tag.
  4. Edit docs/_data/assignment.yml to reflect the parameters of this assignment. Custom values may be added, they can be referenced in Liquid code as site.data.assignments.valueName.
    • If an outcome is set, the text will be displayed above the tabs.
  5. Edit docs/_data/tabs.yml to change the names (or number) of the tabs and/or the file they refer to.
  6. The Canvas Theme can be overridden by creating a parallel file in the docs folder.

Updating From The Template Repository

In a terminal window, run the commands:

  1. git remote add template [URL of your repo] # One time.
  2. git fetch --all
  3. git merge template/[branch to merge] --allow-unrelated-histories

About

Template for Canvas assignments for the Unity Create With Code curriculum.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages