Skip to content

Commit

Permalink
Deploying from 2023-11-01T04:28:04Z
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 1, 2023
0 parents commit 3e52d1e
Show file tree
Hide file tree
Showing 305 changed files with 78,433 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
205 changes: 205 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@
<html lang="en">
<head>
<meta charset="utf-8">

<!-- If for some reason you are using IE, use edge -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<!-- So bootstrap isn't horrible, set the width -->
<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="icon" type="image/png" href="/images/favicons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/images/favicons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/images/favicons/manifest.json">
<link rel="mask-icon" href="/images/favicons/safari-pinned-tab.svg" color="#5bbad5">
<meta name="theme-color" content="#ffffff">

<title>CS 341 · 404</title>

<!-- Reference a CDN so this is properly cached in the browser forever. Unless they clean out the
Cache this will incur no load time. Ideally we should put a security checksum but that breaks
Firefox development sometimes -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" crossorigin="anonymous">
<!-- For table of content -->

<link rel="stylesheet" href="/css/code-style.css"/>
<link rel="stylesheet" href="/css/main.css"/>
<link rel="stylesheet" href="/css/bootstrap-toc.css"/>

<meta property="og:locale" content="en_US">


<meta property="og:title" content="404" />


<meta property="og:type" content="article" />
<meta property="og:url" content="http://cs341.cs.illinois.edu" />


<meta property="og:description" content=""Webpage for CS 341: System Programming at the University of Illinois at Urbana-Champaign. All documentation and information about the course can be found here."
" />


</head>


<body>
<!-- Always shows a header, even in smaller screens. -->
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<!-- Navigation button as html so we don't have to resize images -->
<button
type="button"
class="navbar-toggle collapsed"
data-toggle="collapse"
data-target=".navbar-collapse"
aria-expanded="false"
aria-controls="navbar"
>
<!-- Hamburger Navigation bar on small -->
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>

<!-- Full title on laptop -->
<a class="navbar-brand navbar-item normal" href="/">
<span>CS 341: System Programming</span>
</a>

<!-- Smaller on mobile-->
<a class="navbar-brand navbar-item small" href="/">
<span>CS 341</span>
</a>
</div>

<!-- Finally generate what is in the navbar -->
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">

<li class="navbar-item">
<a href="/assignments.html">Assignments</a>
<!-- Generate sublinks-->
<ul class="nav navbar-nav subitem-container">

</ul>
</li>

<li class="navbar-item">
<a href="/quiz_topics.html">Quizzes</a>
<!-- Generate sublinks-->
<ul class="nav navbar-nav subitem-container">

</ul>
</li>

<li class="navbar-item">
<a href="/grades.html">Grades</a>
<!-- Generate sublinks-->
<ul class="nav navbar-nav subitem-container">

</ul>
</li>

<li class="navbar-item">
<a href="/schedule.html">Lectures</a>
<!-- Generate sublinks-->
<ul class="nav navbar-nav subitem-container">

</ul>
</li>

<li class="navbar-item">
<a href="/syllabus.html">Syllabus</a>
<!-- Generate sublinks-->
<ul class="nav navbar-nav subitem-container">

</ul>
</li>

<li class="navbar-item">
<a href="/staff.html">Staff</a>
<!-- Generate sublinks-->
<ul class="nav navbar-nav subitem-container">

</ul>
</li>

<li class="navbar-item">
<a href="/resources.html">Resources</a>
<!-- Generate sublinks-->
<ul class="nav navbar-nav subitem-container">

<li class="navbar-subitem">
<a href="/peer_tutoring.html">Peer Tutoring</a>
</li>

<li class="navbar-subitem">
<a href="/coursebook/index.html">Coursebook</a>
</li>

<li class="navbar-subitem">
<a href="">Lecture Materials</a>
</li>

<li class="navbar-subitem">
<a href="/tutorials/development">Linux Virtual Machine</a>
</li>

</ul>
</li>

<li class="navbar-item">
<a href="/honors.html">Honors</a>
<!-- Generate sublinks-->
<ul class="nav navbar-nav subitem-container">

</ul>
</li>

</ul>
</div>
</div>
<!-- Fonts -->
<link
href="https://fonts.googleapis.com/css?family=Roboto"
rel="stylesheet"
/>
</nav>

<div class="container-fluid" id="page">
<div class="row">
<div class="col-md-1 col-xs-1"></div>
<div class="col-md-10 col-xs-10">
<h1 style="margin-left:auto; margin-right:auto; display:block; text-align:center;">404!</h1>
<div style="position:absolute; width:100%">
<img src="/images/tux_jedi_404.jpg" alt="Jedi Tux"
style="margin-left:auto; margin-right:auto; display:block; width:50%; height:50%">
</div>
</div>
</div>
</div>
<!-- Mathjax takes a while to load so do a lazy load to so we can get accessibility -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML" crossorigin="anonymous"></script>

<!-- Bring in JQuery and Bootstrap -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js" crossorigin="anonymous"></script>
<!-- For table of content -->
<script src="https://cdn.rawgit.com/afeld/bootstrap-toc/v1.0.1/dist/bootstrap-toc.min.js"></script>
<script src="/js/scroll.js"></script>
<footer class="">

<!-- Add another container at the bottom so there is some space there -->
<div class="container-fluid">
<div class="shadow"></div>

</div>

</footer>

</body>

</html>
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cs341.cs.illinois.edu
110 changes: 110 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# Webpage for CS 341 (formerly CS 241)

[![Website Deploy](https://github.com/illinois-cs241/illinois-cs241.github.io/actions/workflows/deploy.yaml/badge.svg?branch=develop)](https://github.com/illinois-cs241/illinois-cs241.github.io/actions/workflows/deploy.yaml)
[![Depfu](https://badges.depfu.com/badges/78ebc2831869c07b5ad540abdd03b457/status.svg)](https://depfu.com)
[![Depfu](https://badges.depfu.com/badges/78ebc2831869c07b5ad540abdd03b457/overview.svg)](https://depfu.com/github/illinois-cs241/illinois-cs241.github.io?project_id=6331)

## Installing

First make sure you have ruby >= 2.6. We recommend using `rvm`

```
rvm use 2.6.0
```

After, we recommend bundler to install all the dependencies

```
sudo gem install bundler
```

Then nagivate to the root of the repostory and install

```
bundle install
```

Finally, your repository has the submodules needed

```
git submodule init
git submodule update --recursive
```

## Running

To build the site it is as simple as

```
bundle exec rake
```

If you want to build and serve a simple web server, run

```
bundle exec rake serve
```

If you want to run a spell check do

```
bundle exec rake spell_check
```

## Jekyll and Github Pages

This website is made with [Jekyll](https://jekyllrb.com/) and [Github Pages](https://help.github.com/articles/what-are-github-pages/).

Jekyll is a static site generator that allows us to write markdown instead of html and comes with [Liquid Templating](http://liquidmarkup.org/) which uses a combination of tags, objects, and filters to load dynamic content and has a nice [cheat sheet](http://cheat.markdunkley.com/).

Github Pages will host this repo not only as a code base but will also as a webserver for our website.

The magic happens in the integration. Github Pages has Jekyll integration, so if you push any changes to this repo, then Github Pages will automatically have Jekyll generate a new static site and serve it. This means that you can makes changes to the webpage simply by pushing changes to it. No more package installations, no more Angular JS, no more rsync. This also means that you can take advantage of the Github UI and edit files from a web browser.

## Structure

- `_data`: stores configurations files
- `assignments.yaml`: stores the assignments info. **Update this to release/hide assignment**
- `schedule.yaml`: stores the lecture schedule
- `staff.yaml`: stores the staff info
- `honors_projects.yaml`
- `honors_schedule.yaml`
- `malloc_hof.yaml` Winners for the malloc contest
- `man.json` Autogenerated json file that resolves man page link
- `staff-emeritus.yaml` Staff that have contributed greatly to the course
- `staff.yaml` Current staff
- `_includes`: holds html that is used everywhere
- `head.html`: holds code for including other files
- `header.html`: top nav bar code
- `_layouts`: hold layout templates
- `doc.html`: layout template for documentation
- `_docs`: where all the documentation is stored as markdown
- `_sass`: sass files (files named appropriately)
- `css`: holds css
- `images`: holds images
- `js`: holds javascripts
- `lib`: folder for libraries
- `static`: holds other static content, like PDFs
- `_config.yml`: global site configuration
- `_pages` Keeps stray pages
- `_coursebook` Markdown directory with all the coursebook material

## How to write documentation

### Where to create the file

All documentation is stored in `assignment-docs` repository. To make any changes, go to that repository.

### Content for this file

Once you have created this file you can add all the markdown you please. Somethings to take note of is that javascript will run to make all the areas between `h2`/`##` tags into sections and add an entry to the table of content. The title of the section and the entry of in the table of content is exactly the text that comes after your `h2`/`##`. Also `h1`/`#` is reserved for the title which will automatically be added in.

### Syntax Highlighting
You might want to add syntax highlighting.

This can be done by [fencing with triple backticks](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet/e48fe59238600be6e1ec9e4add21c513cbac86d0#code):

[A full list of languages that Jekyll supports.](https://haisum.github.io/2014/11/07/jekyll-pygments-supported-highlighters/)



Loading

0 comments on commit 3e52d1e

Please sign in to comment.