Skip to content

eecs280staff/tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorials

This README is for contributors. The tutorials are publicly available at https://eecs280staff.github.io/tutorials/.

EECS 280 C/C++ tools and tutorials.

Markup source

The markup source files live in docs/. We're using GitHub pages to publish the docs/ folder using the Primer Spec custom theme.

Local preview

For local spec development, render GitHub pages locally using the Primer Spec instructions. Summary:

One time install:

$ ruby --version  # Need version 2.4.0 or later
ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-darwin18]
$ gem install bundler
$ pwd
/Users/awdeorio/src/eecs280/tutorials
$ bundle install

Every day usage:

$ pwd
/Users/awdeorio/src/eecs280/tutorials/docs
$ bundle exec jekyll serve

If you run into Jekyll errors, run bundle update:

$ pwd
/Users/awdeorio/src/eecs280/tutorials
$ bundle update --all

If Gemfile.lock changes, be sure to commit the changes.

Pull request spec previews

We generate previews of the spec website whenever a Pull Request modifies the docs/ directory. These previews are uploaded to https://preview.seshrs.ml/previews/eecs280staff/<repo-name>/<PR-number>/ using a marketplace GitHub Action (upload-to-primer-spec-preview). Check out the workflow definition for implementation details.

License

The documents in this repository are licensed under a Creative Commons Attribution-NonCommercial 4.0 License. You’re free to copy and share this document, but not to sell it. You may not share source code provided with the documents in this repository.

Releases

No releases published

Packages

No packages published

Languages