Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dolsysmith committed Feb 9, 2024
1 parent d6a0d89 commit b5b978d
Show file tree
Hide file tree
Showing 23 changed files with 44 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: ded298bfe045148dcb674414c0c22e5e
config: b44c009143b6d1b177062f33bd053faa
tags: 645f666f9bcd5a90fca523b33c5a78b7
8 changes: 8 additions & 0 deletions _static/python-camp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
document.addEventListener("DOMContentLoaded", function() {
let notebookUrl = document.getElementsByClassName("dropdown-launch-buttons")[0].querySelectorAll("a[href*='colab']")[0].href;
if (notebookUrl && (notebookUrl.slice(-5) == "ipynb")) {
notebookUrl = notebookUrl.slice(0, -6) + "-md.ipynb"; // Update Colab URL to point to simple Markdown version
document.getElementsByClassName("dropdown-launch-buttons")[0].querySelectorAll("a[href*='colab']")[0].href = notebookUrl;
}
});

1 change: 1 addition & 0 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="_static/togglebutton.js"></script>
<script src="_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions glossary.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="_static/togglebutton.js"></script>
<script src="_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions guidelines.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="_static/togglebutton.js"></script>
<script src="_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions homework.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="_static/togglebutton.js"></script>
<script src="_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="_static/togglebutton.js"></script>
<script src="_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions keep_learning.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="_static/togglebutton.js"></script>
<script src="_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions notebooks/homework/HW_1_from_code_to_data.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="../../_static/togglebutton.js"></script>
<script src="../../_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="../../_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions notebooks/homework/HW_2_programming_techniques.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="../../_static/togglebutton.js"></script>
<script src="../../_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="../../_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions notebooks/homework/HW_3_error_stories.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="../../_static/togglebutton.js"></script>
<script src="../../_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="../../_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions notebooks/homework/HW_Final_GR.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="../../_static/togglebutton.js"></script>
<script src="../../_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="../../_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions notebooks/homework/python_extra_practice.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="../../_static/togglebutton.js"></script>
<script src="../../_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="../../_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions notebooks/lessons/1_1_modeling_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="../../_static/togglebutton.js"></script>
<script src="../../_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="../../_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions notebooks/lessons/1_2_from_data_to_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="../../_static/togglebutton.js"></script>
<script src="../../_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="../../_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions notebooks/lessons/2_1_describing_the_team.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="../../_static/togglebutton.js"></script>
<script src="../../_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="../../_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions notebooks/lessons/2_2_programming_with_data.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="../../_static/togglebutton.js"></script>
<script src="../../_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="../../_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions notebooks/lessons/3_1_from_story_to_code.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="../../_static/togglebutton.js"></script>
<script src="../../_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="../../_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
1 change: 1 addition & 0 deletions notebooks/lessons/4_1_modeling_the_world.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="../../_static/togglebutton.js"></script>
<script src="../../_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="../../_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down
4 changes: 2 additions & 2 deletions parsons-problems/html/homework-1-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ <h2>Compose your code here</h2>

<div class="parsons-ps">
<div class="parsons-block" id="pb-1" draggable="true">
print(price_num)
price_num = float(price_num) * 1.1
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-2" draggable="true">
price_num = float(price_num) * 1.1
print(price_num)
</div>
</div>

Expand Down
10 changes: 5 additions & 5 deletions parsons-problems/html/homework-1-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,31 @@ <h2>Compose your code here</h2>

<div class="parsons-ps">
<div class="parsons-block" id="pb-1" draggable="true">
depts.append(course_info[0])
depts = []
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-2" draggable="true">
depts = []
for course in courses:
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-3" draggable="true">
print(depts)
depts.append(course_info[0])
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-4" draggable="true">
for course in courses:
course_info = course.split()
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-5" draggable="true">
course_info = course.split()
print(depts)
</div>
</div>

Expand Down
20 changes: 10 additions & 10 deletions parsons-problems/html/homework-2-GR.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,61 +41,61 @@ <h2>Compose your code here</h2>

<div class="parsons-ps">
<div class="parsons-block" id="pb-1" draggable="true">
course_dict['section'] = course_info[2]
course_dict['dept_code'] = course_info[0]
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-2" draggable="true">
courses_db = []
course_dict['course_num'] = course_info[1]
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-3" draggable="true">
course_info = course.split()
courses_db.append(course_dict)
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-4" draggable="true">
course_dict['dept_code'] = course_info[0]
for course in courses:
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-5" draggable="true">
course_dict = {}
course_dict['section'] = course_info[2]
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-6" draggable="true">
for course in courses:
course_dict = {}
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-7" draggable="true">
course_dict['instructor'] = course_info[3]
print(courses_db)
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-8" draggable="true">
course_dict['course_num'] = course_info[1]
courses_db = []
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-9" draggable="true">
courses_db.append(course_dict)
course_dict['instructor'] = course_info[3]
</div>
</div>

<div class="parsons-ps">
<div class="parsons-block" id="pb-10" draggable="true">
print(courses_db)
course_info = course.split()
</div>
</div>

Expand Down
1 change: 1 addition & 0 deletions search.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
<script>let toggleHintHide = 'Click to hide';</script>
<script>let toggleOpenOnPrint = 'true';</script>
<script src="_static/togglebutton.js"></script>
<script src="_static/python-camp.js"></script>
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script>
<script src="_static/design-tabs.js"></script>
<script>const THEBE_JS_URL = "https://unpkg.com/thebe@0.8.2/lib/index.js"
Expand Down

0 comments on commit b5b978d

Please sign in to comment.