Skip to content

Commit

Permalink
Course created
Browse files Browse the repository at this point in the history
  • Loading branch information
iebecker committed Aug 19, 2024
1 parent 1de0f62 commit 9caa68f
Show file tree
Hide file tree
Showing 54 changed files with 4,282 additions and 1 deletion.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 IACS-CS-207

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# 2024_AM215
# 2024_AM215 Repository
96 changes: 96 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
COURSE_NAME = '2024_AM215'

AUTHOR = ''

SEMESTER = ''

YEAR = ''

SITEURL = ''

GITHUB = ''

COLOR = '#8996A0'

# Define Navbar links
# ex. ('Link Name', 'URL')
MENUITEMS = []

# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True

PATH = 'content'

OUTPUT_PATH = 'docs'

TIMEZONE = 'EST'

DEFAULT_LANG = 'en'

# ================================
# Pelican Settings
# Do not modify
# ================================

FEED_ALL_ATOM = None

CATEGORY_FEED_ATOM = None

TRANSLATION_FEED_ATOM = None

AUTHOR_FEED_ATOM = None

AUTHOR_FEED_RSS = None

DEFAULT_PAGINATION = 10

DEFAULT_CATEGORY = 'pages'

AUTHORS_SAVE_AS = ''

CATEGORIES_SAVE_AS = ''

ARCHIVES_SAVE_AS = ''

ARTICLE_SAVE_AS = '{category}/{slug}/index.html'

ARTICLE_URL = '{category}/{slug}/'

AUTHOR_URL = ''

AUTHOR_SAVE_AS = ''

TAG_SAVE_AS = ''

INDEX_SAVE_AS = 'pages/materials.html'

THEME_STATIC_DIR = 'style'

DELETE_OUTPUT_DIRECTORY = True

MARKUP = ['md', 'ipynb']

PLUGIN_PATHS = ['plugins']

PLUGINS = ['ipynb.markup', 'tipue_search']

IGNORE_FILES = ['.#*', '.ipynb_checkpoints', 'README.md', "*.html", "__pycache__", "*.pdf", "*.pptx", ".placeholder", ".DS_Store", "*.ipynb-meta", "*.csv", "*.json", "*.txt", "*.xmls"]

STATIC_PATHS = ['lectures', 'labs', 'homeworks', 'a-sections', 'sections', 'wiki', 'images', 'projects', 'slides', 'data']

DIRECT_TEMPLATES = ['index', 'search', 'tags', 'category']

import re

JINJA_FILTERS = {
'original_content': lambda x: re.search(r"content/(.*)", x).group(1)
}

USE_FOLDER_AS_CATEGORY = False

import logging

LOG_FILTER = [
(logging.WARN, "Empty alt attribute for image %s in %s"),
(logging.WARN, "Meta tag in file %s does not have a 'name' attribute, skipping. Attributes: content=%s")
]
3 changes: 3 additions & 0 deletions content/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Title: Home
Date:
save_as: index.html
Empty file added content/labs/README.md
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
8 changes: 8 additions & 0 deletions content/lectures/lecture0/readings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Title: Lecture 0
Category: Lectures
Date: 2018-07-09
Slug: lecture0
Author:


# Lecture 0
Empty file added content/pages/README.md
Empty file.
1 change: 1 addition & 0 deletions content/pages/schedule.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

7 changes: 7 additions & 0 deletions content/pages/schedule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Title: Schedule
Slug: schedule
Date: 2019-05-31


||
|-----|
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Course Website
89 changes: 89 additions & 0 deletions docs/category/lectures.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">

<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed|Roboto:300,400,700" rel="stylesheet">

<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css">

<link rel="stylesheet" href="../style/tipuesearch/tipuesearch.css">

<link rel='shortcut icon' type='image/x-icon' href='../style/images/favicon.ico' />
<link rel="stylesheet" href="../style/css/hiacs.css">

<link rel="canonical" href="../" />

<title> - Lectures</title>

<style>
.navbar {
background-color: #A51C30
}
</style>
</head>
<body>

<nav class="navbar navbar-dark navbar-expand-md">
<div class="container">
<a class="navbar-brand" href="..">
<img class="navbar-brand-logo" src="../style/images/logo.png" />
<h3 class="course-title"></h3>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsDefault" aria-controls="navbarsDefault" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarsDefault">
<ul class="navbar-nav ml-auto">
<form
class="form-inline my-2"
action="../search.html"
onsubmit="return validateForm(this.elements['q'].value);"
>
<div class="input-group input-group-sm">
<input class="form-control" type="text" name="q" placeholder="Search Topic">
<div class="input-group-append">
<button class="btn btn-default" type="submit">
<i class="fas fa-search"></i>
</button>
</div>
</div>
</form>
</ul>
</div><!-- .collapse navbar-collapse -->
</div><!-- .container -->
</nav>
<main id="content" class="container">
<h1 class="category-title">Lectures</h1>
<br />
<hr />
<ul class="category-list">
<li class="category-item">
<a href="../lectures/lecture0/">Lecture 0</a>
(Jul. 09, 2018)
</li>
</ul>
</main>

<footer class="footer">
<div class="container">
<span class="text-muted">Copyright 2018 &copy;
<a class="text-muted" href="https://iacs.seas.harvard.edu/">Institute for Applied Computational Science</a>
</span>
</div>
</footer>

<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
</body>
</html>
89 changes: 89 additions & 0 deletions docs/category/{slug}.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">

<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed|Roboto:300,400,700" rel="stylesheet">

<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css">

<link rel="stylesheet" href="../style/tipuesearch/tipuesearch.css">

<link rel='shortcut icon' type='image/x-icon' href='../style/images/favicon.ico' />
<link rel="stylesheet" href="../style/css/hiacs.css">

<link rel="canonical" href="../" />

<title> - </title>

<style>
.navbar {
background-color: #A51C30
}
</style>
</head>
<body>

<nav class="navbar navbar-dark navbar-expand-md">
<div class="container">
<a class="navbar-brand" href="..">
<img class="navbar-brand-logo" src="../style/images/logo.png" />
<h3 class="course-title"></h3>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsDefault" aria-controls="navbarsDefault" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarsDefault">
<ul class="navbar-nav ml-auto">
<form
class="form-inline my-2"
action="../search.html"
onsubmit="return validateForm(this.elements['q'].value);"
>
<div class="input-group input-group-sm">
<input class="form-control" type="text" name="q" placeholder="Search Topic">
<div class="input-group-append">
<button class="btn btn-default" type="submit">
<i class="fas fa-search"></i>
</button>
</div>
</div>
</form>
</ul>
</div><!-- .collapse navbar-collapse -->
</div><!-- .container -->
</nav>
<main id="content" class="container">
<h1 class="category-title"></h1>
<br />
<hr />
<ul class="category-list">
<li class="category-item">
<a href="../lectures/lecture0/">Lecture 0</a>
(Jul. 09, 2018)
</li>
</ul>
</main>

<footer class="footer">
<div class="container">
<span class="text-muted">Copyright 2018 &copy;
<a class="text-muted" href="https://iacs.seas.harvard.edu/">Institute for Applied Computational Science</a>
</span>
</div>
</footer>

<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
</body>
</html>
Loading

0 comments on commit 9caa68f

Please sign in to comment.