Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Primer Spec theme #22

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# frozen_string_literal: true
source 'https://rubygems.org'

group :jekyll_plugins do
gem 'github-pages'
gem 'jekyll-theme-primer'
gem 'jekyll-remote-theme'
gem 'webrick'
gem 'jekyll-seo-tag'
gem 'jekyll-remote-theme'
seshrs marked this conversation as resolved.
Show resolved Hide resolved
gem 'jekyll-github-metadata'
seshrs marked this conversation as resolved.
Show resolved Hide resolved

# The following plugins are enabled on GitHub Pages without a _config.yml.
gem 'jekyll-optional-front-matter'
gem 'jekyll-readme-index'
gem 'jekyll-relative-links'
gem 'jekyll-default-layout'
gem 'kramdown-parser-gfm'
gem 'jemoji'
end
15 changes: 14 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ GEM
jekyll-seo-tag (~> 2.1)
minitest (5.14.4)
multipart-post (2.1.1)
nokogiri (1.12.4-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.12.4-x86_64-linux)
racc (~> 1.4)
octokit (4.21.0)
Expand Down Expand Up @@ -265,14 +267,25 @@ GEM
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (1.7.0)
webrick (1.7.0)
zeitwerk (2.4.2)

PLATFORMS
x86_64-darwin-20
x86_64-linux

DEPENDENCIES
github-pages
jekyll-theme-primer
jekyll-default-layout
jekyll-github-metadata
jekyll-optional-front-matter
jekyll-readme-index
jekyll-relative-links
jekyll-remote-theme
jekyll-seo-tag
jemoji
kramdown-parser-gfm
webrick

BUNDLED WITH
2.2.26
17 changes: 15 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,26 @@ title: Introduction to Software Development Tooling
description: >
Learn the command line, version control, build systems, and correctness in
Tufts' CS 50ISDT.
theme: jekyll-theme-primer
google_analytics: UA-26440738-1
url: 'https://bernsteinbear.com'
url: "https://bernsteinbear.com"
baseurl: /isdt
favicon: /favicon.ico # TODO: verify
permalink: pretty
exclude:
- README.md
- LICENSE
- Gemfile
- Gemfile.lock

# Configuration for Primer Spec
# https://github.com/eecs485staff/primer-spec
remote_theme: eecs485staff/primer-spec
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you pin this to a tag or branch in your repository? Right now it tracks a moving target and might cause our site to change unexpectedly without any explicit action from us.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great question! Primer Spec uses Semantic versioning, and I usually only release minor version bumps between semesters at the University of Michigan.

Option 1: It seems like the Tufts semester schedule is somewhat similar to that of UMich. If you'd like, I can ensure that I do not make version bumps in the middle of a Tufts semester.

Option 2: You can pin to a specific minor version of Primer Spec. You will always receive automatic patch version updates (usually minor changes to JS, or very minor CSS fixes).

kramdown:
input: GFM
plugins:
- jekyll-remote-theme
- jekyll-optional-front-matter
- jekyll-readme-index
- jekyll-relative-links
- jekyll-default-layout
- jemoji