generated from kevinlin1/just-the-class
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into python-plugin
- Loading branch information
Showing
54 changed files
with
32,283 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,5 @@ _site/ | |
|
||
node_modules/ | ||
vendor/ | ||
!assets/vendor/ | ||
tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
require: | ||
- rubocop-rspec | ||
- rubocop-capybara | ||
|
||
AllCops: | ||
NewCops: enable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,35 +14,55 @@ | |
# You can create any custom variable you would like, and they will be accessible | ||
# in the templates via {{ site.myvariable }}. | ||
|
||
# TODO(setup): Typically the course number, "DEPT XXX". it appears on nearly every page. Keep it short. :) | ||
title: Berkeley Class Site | ||
# TODO:(setup): This should be the extended title of your course. e.g. "Introduction to Data Science" | ||
tagline: A Jekyll template for course websites | ||
description: A modern, highly customizable, responsive Jekyll template for course websites | ||
# TODO (template): this should be built from the staff list... | ||
# TODO(template): this should be built from the staff list... | ||
author: Various Bears | ||
|
||
# TODO(setup): Set this to the semester, e.g. /sp24, (faXX / spXX / suXX / wiXX ) | ||
baseurl: '/berkeley-class-site' # the subpath of your site, e.g. /blog | ||
baseurl: '/berkeley-class-site' # the subpath of your site, which should just be the semester. | ||
# TODO(setup): Set this to your course's domain | ||
url: 'https://berkeley-eecs.github.io' # the base hostname & protocol for your site, e.g. http://example.com | ||
url: 'https://berkeley-eecs.github.io' # the hostname & protocol for your site, e.g. http://example.com | ||
|
||
# TODO(setup): This should be one of eecs, dsus, stats | ||
# This controls some footer text, and later custom styling. | ||
course_department: dsus | ||
|
||
# The sitemap **must** be enabled. It's published as /baseurl/sitemap.xml | ||
plugins: | ||
- jekyll-sitemap | ||
- jekyll-seo-tag | ||
- jekyll-github-metadata | ||
- jekyll-include-cache | ||
|
||
|
||
# Course variables | ||
# Course variables can appear in various places around the website, if something isn't used leave it blank. | ||
# TODO(setup): Set all of these course variables | ||
course: SAMPLE 101 | ||
course_email: [email protected] | ||
gradescope_course_id: 123456 # you can find this in the Gradescope URL after /courses | ||
bcourses_course_id: 123456 # Same as above, but for bCourses. Leave blank if not in use... | ||
ed_course_id: 123456 # Again, same as above. | ||
sememster: spYY | suYY | faYY # set for the current seemester | ||
# This should be the page of all class archives | ||
# Typically just / for DS courses (with a visible index page), or /archives if you're hosting your own, or a link to the inst.eecs page | ||
# If you have no archive page, comment this line out or leave blank. | ||
class_archive_path: / | ||
|
||
# TODO(setup): Set these auxiliary links as you wish - they show up on the top right | ||
aux_links: | ||
Ed: | ||
# TODO(template): Move this to be built-in. | ||
Ed: | ||
- 'https://edstem.org' | ||
OH Queue: | ||
- 'https://oh.c88c.org' | ||
Berkeley Class Site on GitHub: | ||
- 'https://github.com/berkeley-eecs/berkeley-class-site' | ||
# TODO(setup): Set copyright/licensing or any other footer content | ||
footer_content: "Copyright © 2024 UC Berkeley" | ||
|
||
|
||
# Collections for website data | ||
collections: | ||
|
@@ -105,21 +125,30 @@ defaults: | |
values: | ||
layout: announcement | ||
|
||
|
||
# TODO(setup): Set all of these course variables | ||
course_email: [email protected] | ||
gradescope_course_id: 123456 # you can find this in the Gradescope URL after /courses | ||
|
||
####### | ||
###################################################################### | ||
# Just the Docs / Berkeley Class Site Common Config | ||
# Options below here will likely not need to be configured.. | ||
###################################################################### | ||
|
||
# Theme settings | ||
theme: just-the-docs | ||
color_scheme: light | ||
search_enabled: true | ||
heading_anchors: true | ||
permalink: pretty | ||
|
||
## Footer Content. | ||
# You should probably not change these, but may add to footer_content if necessary. | ||
# Replace `true` with any additional HTML that you would like to add. | ||
# Footer *must* included the accessibility text defined in footer_custom.html | ||
footer_content: true | ||
back_to_top: true | ||
back_to_top_text: "Back to Top" | ||
last_edit_timestamp: true | ||
last_edit_time_format: '%m %d, %Y at %H:%M' | ||
|
||
# Compilation settings used by compress-html plugin: | ||
# https://github.com/penibelst/jekyll-compress-html/tree/v3.2.0?tab=readme-ov-file | ||
compress_html: | ||
clippings: all | ||
comments: all | ||
|
@@ -128,14 +157,32 @@ compress_html: | |
blanklines: false | ||
profile: false | ||
|
||
# Files excluded from the Jekyll build | ||
# Native Jeykll build options | ||
# You likely shouldn't need to touch these, but they are documented here just in case. | ||
# https://jekyllrb.com/docs/configuration/options/ | ||
|
||
# This makes it easier when pushing to a static directory. | ||
# The default false removes files in that directory, which is useful for when you unpublish pages. | ||
# keep_files: false | ||
|
||
# Likely not necessary, but a google default for Berkeley | ||
timezone: America/Los_Angeles | ||
|
||
# Note: dotfiles are excluded by default. .htaccess is included as a common case. | ||
include: | ||
- LICENSE | ||
- .htaccess | ||
|
||
exclude: | ||
- .sass-cache/ | ||
- .jekyll-cache/ | ||
- gemfiles/ | ||
- Gemfile | ||
- Gemfile.lock | ||
- vendor | ||
- vendor/ | ||
- README.md | ||
- CONTRIBUTING.md | ||
- .* | ||
- tmp/ | ||
- spec/ | ||
- docs/ | ||
- node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- This file comes from Just The Docs. | ||
This footer should be included on all EECS/DS sites. | ||
--> | ||
|
||
{%- if site.footer_content and site.footer_content != true -%} | ||
<p class="text-small text-grey-dk-100 m-0">{{ site.footer_content }}</p> | ||
{%- endif -%} | ||
|
||
<p class="text-small text-grey-dk-100 my-1"> | ||
<a rel="nofollow noopener" href="https://dap.berkeley.edu/get-help/report-web-accessibility-issue" target="_blank" class="pr-2">Accessibility <i class="fa-solid fa-external-link" aria-hidden=true></i></a> | ||
<a rel="nofollow noopener" href="https://ophd.berkeley.edu/policies-and-procedures/nondiscrimination-policy-statement" target="_blank" class="px-2">Nondiscrimination <i class="fa-solid fa-external-link" aria-hidden=true></i></a> | ||
</p> | ||
|
||
<!-- Use this to add additional content. --> | ||
<p class="text-small text-grey-dk-100 m-0"> | ||
Copyright ©{{ "now" | date: "%Y" }}, Regents of the University of Californa and respective authors. | ||
</p> | ||
|
||
<p class="fs-1 text-grey-dk-100 my-1"> | ||
This site is built following the <a href="https://github.com/just-the-docs/just-the-docs" target="_bank" rel="noopener">Berkeley Class Site <i class="fa-solid fa-external-link" aria-hidden=true></i></a> template, which is generously based on the <a href="https://github.com/kevinl/just-the-class" target="_bank" rel="noopener">Just the Class <i class="fa-solid fa-external-link" aria-hidden=true></i></a>, and <a href="https://github.com/just-the-docs/just-the-docs" target="_bank" rel="noopener">Just the Docs <i class="fa-solid fa-external-link" aria-hidden=true></i></a> templates. | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- Use this to add global CSS/JS utitlties. --> | ||
|
||
<!-- Loading the v6 core styles and the Solid and Brands styles --> | ||
<link href="{{ site.baseurl }}/assets/vendor/fontawesome/css/fontawesome.css" rel="stylesheet" /> | ||
<link href="{{ site.baseurl }}/assets/vendor/fontawesome/css/brands.css" rel="stylesheet" /> | ||
<link href="{{ site.baseurl }}/assets/vendor/fontawesome/css/solid.css" rel="stylesheet" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!-- This file adds links at the bottom of the sidebar on the left. --> | ||
|
||
{% if site.class_archive_path %} | ||
<footer class="site-footer"> | ||
<a href="{{ site.class_archive_path }}" | ||
target="_blank" rel="noopener nofollow">View all course offerings | ||
<i class="fa-solid fa-external-link" aria-hidden="true"></i></a> | ||
</footer> | ||
{% endif %} |
Oops, something went wrong.