Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
124 changes: 72 additions & 52 deletions . bundle install/_config.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,75 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: Your awesome title
email: your-email@example.com
description: >- # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: jekyllrb
github_username: jekyll

# Build settings
theme: minima
title: COGS 108
email: jfleischer@ucsd.edu
description: >-
COGS 108, Spring 2026 at UC San Diego
tagline: Data Science in Practice

url: "https://COGS108.github.io"
baseurl: "/LectureNotes"

remote_theme: just-the-docs/just-the-docs

plugins:
- jekyll-remote-theme
- jekyll-feed

# Exclude from processing.
# The following items will not be processed, by default.
# Any item listed under the `exclude:` key here will be automatically added to
# the internal "default list".
#
# Excluded items can be processed by explicitly listing the directories or
# their entries' file path in the `include:` list.
#
# exclude:
# - .sass-cache/
# - .jekyll-cache/
# - gemfiles/
# - Gemfile
# - Gemfile.lock
# - node_modules/
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/
search_enabled: true

markdown: kramdown
kramdown:
math_engine: mathjax
input: GFM
syntax_highlighter: rouge

exclude:
- .sass-cache/
- .jekyll-cache/
- gemfiles/
- Gemfile
- Gemfile.lock
- node_modules/
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- .data/
- docs
- dev-docs

aux_links:
"🙋 Piazza": "https://piazza.com"
"💯 Gradescope": "https://www.gradescope.com"
"💪 Practice": "https://practice.dsc40a.com"

aux_links_new_tab: true

data_folder: sp26

color_scheme: dark

callouts_level: quiet
callouts:
highlight:
title: Caution
color: yellow
important:
title: Important
color: blue
new:
title: New
color: green
note:
title: Note
color: purple
warning:
title: Warning
color: red

back_to_top: true
back_to_top_text: "Back to top"

collections:
demos:
output: true
permalink: /demos/:path

4 changes: 2 additions & 2 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy Jekyll site to Pages
on:
push:
branches: ["main"]
branches: ["main", "fix-github-pages-deploy"]
workflow_dispatch:

permissions:
Expand All @@ -25,7 +25,7 @@ jobs:
- uses: actions/configure-pages@v4
id: pages
- name: Build with Jekyll
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" --destination ./docs
env:
JEKYLL_ENV: production
- uses: actions/upload-pages-artifact@v3
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ GEM
net-http (~> 0.5)
ffi (1.17.4-aarch64-linux-gnu)
ffi (1.17.4-arm64-darwin)
ffi (1.17.4-x64-mingw-ucrt)
ffi (1.17.4-x86_64-linux-gnu)
ffi (1.17.4-x86_64-linux-musl)
forwardable-extended (2.6.0)
Expand Down Expand Up @@ -245,6 +246,8 @@ GEM
racc (~> 1.4)
nokogiri (1.19.2-arm64-darwin)
racc (~> 1.4)
nokogiri (1.19.2-x64-mingw-ucrt)
racc (~> 1.4)
nokogiri (1.19.2-x86_64-linux-gnu)
racc (~> 1.4)
nokogiri (1.19.2-x86_64-linux-musl)
Expand Down Expand Up @@ -287,6 +290,7 @@ PLATFORMS
arm64-darwin-21
arm64-darwin-22
arm64-darwin-24
x64-mingw-ucrt
x86_64-linux
x86_64-linux-musl

Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Deploy Jekyll site to Pages](https://github.com/kshannon-ucsd/dsc40a/actions/workflows/jekyll.yml/badge.svg)](https://github.com/kshannon-ucsd/dsc40a/actions/workflows/jekyll.yml)
[![Deploy Jekyll site to Pages](https://github.com/COGS108/LectureNotes/actions/workflows/jekyll.yml/badge.svg)](https://github.com/COGS108/LectureNotes/actions/workflows/jekyll.yml)

# DSC40a
# COGS 108
Class Website for UCSD's Data Science in Practice


Expand Down Expand Up @@ -29,21 +29,21 @@ Class Website for UCSD's Data Science in Practice
### Building for Local
All dev builds will be built into a `dev-docs/` dir. This dir is included in `.gitignore` and is only used for development builds. Any specific dev config should bd included in the `_config_dev.yml` file. Your absolute path to `dev-docs` will be different.
1. `bundle exec jekyll serve --config _config.yml,_config_dev.yml --destination ./dev-docs` #builds and starts local server on localhost
2. navigate to http://localhost:4000/dsc40a/
2. navigate to http://localhost:4000/cogs108/

### Building for Prod
1. A merge or direct push to main branch will automatically trigger the jekyll workflow which will build and deploy the main branch to production.
2. Check status in github actions for build results.
3. Navigate to https://kshannon-ucsd.github.io/dsc40a/
4. 4. if building with HDSI's domain dsc40a.com add the `CNAME` file with the url entry `dsc40a.com` into the root
3. Navigate to https://COGS108.github.io/LectureNotes/
4. If using a custom domain, add the `CNAME` file with the domain into the root

### /data/ directory
This dir is excluded from the jekyll build chain (excluded in the config.yaml file).
Set this up correctly fopr the next iteration:
Set this up correctly for the next iteration:
`Change this to choose where to pick data from`
`data_folder: su24` becomes e.g. wi25

This folder includes data that changes from quarter to quarter, e.g. course calender. I don't want to recreate these data, so I dump them here to use for later. Eventually I would like to create variables to pull this data, but for now this is a fine solution.
This folder includes data that changes from quarter to quarter, e.g. course calendar. This allows reuse without recreating data each term. Eventually this can be abstracted into variables.

## Course Calendar
The following tags can be applied within a row for each course activity, set within the `_data/term/course_calendar.csv` file.
Expand All @@ -55,5 +55,4 @@ The following tags can be applied within a row for each course activity, set wit
- GRPW --> groupwork
- PRAC --> practice problems

Any other tag used will default to a black colored tag

Any other tag used will default to a black colored tag
42 changes: 0 additions & 42 deletions _data/demos.yml

This file was deleted.

Binary file removed docs/assets/images/demos/construction.png
Binary file not shown.
Binary file removed docs/assets/images/demos/feature_param_space.png
Binary file not shown.
Binary file removed docs/assets/images/demos/huber.png
Binary file not shown.
Binary file removed docs/assets/images/demos/interaction_terms.png
Binary file not shown.
Binary file removed docs/assets/images/demos/kmeans.png
Binary file not shown.
Binary file removed docs/assets/images/demos/loss-surface.png
Binary file not shown.
Binary file removed docs/assets/images/demos/multiarmedbandit.jpg
Binary file not shown.
Binary file removed docs/assets/images/demos/overfitting-model.png
Binary file not shown.
Binary file removed docs/assets/images/demos/simple-loss.jpg
Binary file not shown.
Binary file removed docs/assets/images/faq2-mad.png
Binary file not shown.
Binary file removed docs/assets/images/faq2-pros-cons.png
Binary file not shown.
Binary file removed docs/assets/images/faq2-surface.png
Binary file not shown.
Binary file removed docs/assets/images/faq2-unique.png
Binary file not shown.
Binary file removed docs/assets/images/just-the-docs.png
Binary file not shown.
Binary file removed docs/assets/images/large-image.jpg
Binary file not shown.
1 change: 0 additions & 1 deletion docs/assets/images/search.svg

This file was deleted.

Binary file removed docs/assets/images/small-image.jpg
Binary file not shown.
Loading
Loading