Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
paciorek committed Aug 1, 2024
1 parent dfc3474 commit 8672d9b
Show file tree
Hide file tree
Showing 10 changed files with 83 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3aabb09e
4ed48234
6 changes: 3 additions & 3 deletions assets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
.label-Homework { background-color: #E62100}


th {
#th-schedule {
width: 10%;
}

td:first-of-type {
#td-schedule:first-of-type {
width: 60%;
}

td:last-of-type {
#td-schedule:last-of-type {
width: 30%;
}

Expand Down
24 changes: 12 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -359,11 +359,11 @@ <h4 class="anchored">Week 1</h4>

<tr>

<th scope="row" rowspan="2">Aug 24:</th>
<th id="th-schedule" scope="row" rowspan="2">Aug 24:</th>

<td><strong class="label label-Lecture">Lecture 1</strong> <a href="./units/unit1.html" target="_blank">Introduction</a></td>
<td id="td-schedule"><strong class="label label-Lecture">Lecture 1</strong> <a href="./units/unit1.html" target="_blank">Introduction</a></td>

<td>
<td id="td-schedule">

<a href="https://berkeley.edu">Note 1</a>

Expand All @@ -377,7 +377,7 @@ <h4 class="anchored">Week 1</h4>

<tr>

<td><strong class="label label-Participation">Participation 1</strong> <a href="https://berkeley.edu" target="_blank">Lecture Participation 1</a></td>
<td id="td-schedule"><strong class="label label-Participation">Participation 1</strong> <a href="https://berkeley.edu" target="_blank">Lecture Participation 1</a></td>

<td></td>

Expand All @@ -390,9 +390,9 @@ <h4 class="anchored">Week 1</h4>

<tr>

<th scope="row" rowspan="3">Aug 25:</th>
<th id="th-schedule" scope="row" rowspan="3">Aug 25:</th>

<td><strong class="label label-Lab">Lab 1</strong> <a href="https://berkeley.edu" target="_blank">Prerequisite Coding (due Aug 29)</a></td>
<td id="td-schedule"><strong class="label label-Lab">Lab 1</strong> <a href="https://berkeley.edu" target="_blank">Prerequisite Coding (due Aug 29)</a></td>

<td></td>

Expand All @@ -402,7 +402,7 @@ <h4 class="anchored">Week 1</h4>

<tr>

<td><strong class="label label-Homework">Homework 1A</strong> <a href="https://berkeley.edu" target="_blank">Plotting and Permutation Test (due Aug 31)</a></td>
<td id="td-schedule"><strong class="label label-Homework">Homework 1A</strong> <a href="https://berkeley.edu" target="_blank">Plotting and Permutation Test (due Aug 31)</a></td>

<td></td>

Expand All @@ -412,7 +412,7 @@ <h4 class="anchored">Week 1</h4>

<tr>

<td><strong class="label label-Homework">Homework 1B</strong> <a href="https://berkeley.edu" target="_blank">Prerequisite Math (due Aug 31)</a></td>
<td id="td-schedule"><strong class="label label-Homework">Homework 1B</strong> <a href="https://berkeley.edu" target="_blank">Prerequisite Math (due Aug 31)</a></td>

<td></td>

Expand All @@ -437,9 +437,9 @@ <h4 class="anchored">Week 2</h4>

<tr>

<th scope="row" rowspan="2">Aug 29:</th>
<th id="th-schedule" scope="row" rowspan="2">Aug 29:</th>

<td><strong class="label label-Lecture">Lecture 2</strong> <a href="./units/unit2.html" target="_blank">Pandas 1</a></td>
<td id="td-schedule"><strong class="label label-Lecture">Lecture 2</strong> <a href="./units/unit2.html" target="_blank">Pandas 1</a></td>

<td></td>

Expand All @@ -449,9 +449,9 @@ <h4 class="anchored">Week 2</h4>

<tr>

<td><strong class="label label-Participation">Participation 2</strong> <a href="./units/unit3.html" target="_blank">Lecture Participation 2</a></td>
<td id="td-schedule"><strong class="label label-Participation">Participation 2</strong> <a href="./units/unit3.html" target="_blank">Lecture Participation 2</a></td>

<td>
<td id="td-schedule">

</td>

Expand Down
17 changes: 14 additions & 3 deletions search.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"href": "units/unit3.html#evaluated-python-code-chunk-with-a-plot",
"title": "Unit 3: More",
"section": "Evaluated Python code chunk, with a plot",
"text": "Evaluated Python code chunk, with a plot\n\n\nCode\nimport numpy as np\nx = np.random.normal(size=100)\nimport matplotlib.pyplot as plt\nplt.hist(x)\nplt.show()\nnp.mean(x)\n\n\n\n\n\n\n\n\n\n0.02780378200781541",
"text": "Evaluated Python code chunk, with a plot\n\n\nCode\nimport numpy as np\nx = np.random.normal(size=100)\nimport matplotlib.pyplot as plt\nplt.hist(x)\nplt.show()\nnp.mean(x)\n\n\n\n\n\n\n\n\n\n-0.07562102396687749",
"crumbs": [
"Units",
"Unit 3: More"
Expand All @@ -111,7 +111,7 @@
"href": "units/unit3.html#latex-macro",
"title": "Unit 3: More",
"section": "LaTeX macro",
"text": "LaTeX macro\n\nWarning: having include-before-body in the yaml header of this file causes extra space at top of page.\n\n\\[\nA = X \\trans Y\n\\]",
"text": "LaTeX macro\n\nWarning: having include-before-body in the yaml header of this file, as seemingly needed to enable macros, causes extra space at top of page.\n\n\\[\nA = X \\trans Y\n\\]",
"crumbs": [
"Units",
"Unit 3: More"
Expand Down Expand Up @@ -140,7 +140,7 @@
"href": "units/unit1.html#evaluated-python-code-chunk-with-a-plot",
"title": "Unit 1: Intro",
"section": "Evaluated Python code chunk, with a plot",
"text": "Evaluated Python code chunk, with a plot\n\n\nCode\nimport numpy as np\nx = np.random.normal(size=100)\nimport matplotlib.pyplot as plt\nplt.hist(x)\nplt.show()\nnp.mean(x)\n\n\n\n\n\n\n\n\n\n-0.10771421685487213",
"text": "Evaluated Python code chunk, with a plot\n\n\nCode\nimport numpy as np\nx = np.random.normal(size=100)\nimport matplotlib.pyplot as plt\nplt.hist(x)\nplt.show()\nnp.mean(x)\n\n\n\n\n\n\n\n\n\n-0.011892227522277109",
"crumbs": [
"Units",
"Unit 1: Intro"
Expand Down Expand Up @@ -190,6 +190,17 @@
"Unit 1: Intro"
]
},
{
"objectID": "units/unit1.html#a-basic-markdown-table",
"href": "units/unit1.html#a-basic-markdown-table",
"title": "Unit 1: Intro",
"section": "A basic Markdown table",
"text": "A basic Markdown table\n\n\n\nDefault\nLeft\nRight\nCenter\n\n\n\n\n12\n12\n12\n12\n\n\n123\n123\n123\n123\n\n\n1\n1\n1\n1",
"crumbs": [
"Units",
"Unit 1: Intro"
]
},
{
"objectID": "index.html",
"href": "index.html",
Expand Down
4 changes: 2 additions & 2 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
</url>
<url>
<loc>https://berkeley-scf.github.io/course-site-quarto/units/unit3.html</loc>
<lastmod>2024-07-18T20:18:26.880Z</lastmod>
<lastmod>2024-07-18T20:20:51.518Z</lastmod>
</url>
<url>
<loc>https://berkeley-scf.github.io/course-site-quarto/units/macros.html</loc>
<lastmod>2024-06-05T20:44:26.626Z</lastmod>
</url>
<url>
<loc>https://berkeley-scf.github.io/course-site-quarto/units/unit1.html</loc>
<lastmod>2024-07-18T20:18:43.060Z</lastmod>
<lastmod>2024-08-01T20:15:11.185Z</lastmod>
</url>
<url>
<loc>https://berkeley-scf.github.io/course-site-quarto/index.html</loc>
Expand Down
50 changes: 46 additions & 4 deletions units/unit1.html
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ <h2 id="toc-title">On this page</h2>
<li><a href="#styled-div-via-direct-html" id="toc-styled-div-via-direct-html" class="nav-link" data-scroll-target="#styled-div-via-direct-html">Styled div via direct html</a></li>
<li><a href="#a-callout" id="toc-a-callout" class="nav-link" data-scroll-target="#a-callout">A callout</a></li>
<li><a href="#tabset" id="toc-tabset" class="nav-link" data-scroll-target="#tabset">Tabset</a></li>
<li><a href="#a-basic-markdown-table" id="toc-a-basic-markdown-table" class="nav-link" data-scroll-target="#a-basic-markdown-table">A basic Markdown table</a></li>
</ul>
</nav>
</div>
Expand Down Expand Up @@ -283,7 +284,7 @@ <h2 id="toc-title">On this page</h2>
<p>This is an example of using qmd as the source document.</p>
<section id="evaluated-python-code-chunk-with-a-plot" class="level2">
<h2 class="anchored" data-anchor-id="evaluated-python-code-chunk-with-a-plot">Evaluated Python code chunk, with a plot</h2>
<div id="28a2a1bc" class="cell" data-execution_count="1">
<div id="36c41697" class="cell" data-execution_count="1">
<details open="" class="code-fold">
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> numpy <span class="im">as</span> np</span>
Expand All @@ -296,12 +297,12 @@ <h2 class="anchored" data-anchor-id="evaluated-python-code-chunk-with-a-plot">Ev
<div class="cell-output cell-output-display">
<div>
<figure class="figure">
<p><img src="unit1_files/figure-html/cell-2-output-1.png" width="566" height="411" class="figure-img"></p>
<p><img src="unit1_files/figure-html/cell-2-output-1.png" width="566" height="413" class="figure-img"></p>
</figure>
</div>
</div>
<div class="cell-output cell-output-display" data-execution_count="1">
<pre><code>-0.10771421685487213</code></pre>
<pre><code>-0.011892227522277109</code></pre>
</div>
</div>
</section>
Expand Down Expand Up @@ -354,7 +355,7 @@ <h2 class="anchored" data-anchor-id="tabset">Tabset</h2>
</div>
<div id="tabset-1-2" class="tab-pane" role="tabpanel" aria-labelledby="tabset-1-2-tab">
<p>This code is executed.</p>
<div id="4d13e853" class="cell" data-execution_count="2">
<div id="9e02d725" class="cell" data-execution_count="2">
<details open="" class="code-fold">
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb4"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="kw">def</span> fizz_buzz(num):</span>
Expand All @@ -376,6 +377,39 @@ <h2 class="anchored" data-anchor-id="tabset">Tabset</h2>
</div>
</div>
</div>
</section>
<section id="a-basic-markdown-table" class="level2">
<h2 class="anchored" data-anchor-id="a-basic-markdown-table">A basic Markdown table</h2>
<table class="caption-top table">
<thead>
<tr class="header">
<th>Default</th>
<th style="text-align: left;">Left</th>
<th style="text-align: right;">Right</th>
<th style="text-align: right;">Center</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>12</td>
<td style="text-align: left;">12</td>
<td style="text-align: right;">12</td>
<td style="text-align: right;">12</td>
</tr>
<tr class="even">
<td>123</td>
<td style="text-align: left;">123</td>
<td style="text-align: right;">123</td>
<td style="text-align: right;">123</td>
</tr>
<tr class="odd">
<td>1</td>
<td style="text-align: left;">1</td>
<td style="text-align: right;">1</td>
<td style="text-align: right;">1</td>
</tr>
</tbody>
</table>


<!-- -->
Expand Down Expand Up @@ -940,6 +974,14 @@ <h2 class="anchored" data-anchor-id="tabset">Tabset</h2>
<span id="cb6-88"><a href="#cb6-88" aria-hidden="true" tabindex="-1"></a><span class="in">```</span></span>
<span id="cb6-89"><a href="#cb6-89" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb6-90"><a href="#cb6-90" aria-hidden="true" tabindex="-1"></a>:::</span>
<span id="cb6-91"><a href="#cb6-91" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb6-92"><a href="#cb6-92" aria-hidden="true" tabindex="-1"></a><span class="fu">## A basic Markdown table</span></span>
<span id="cb6-93"><a href="#cb6-93" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb6-94"><a href="#cb6-94" aria-hidden="true" tabindex="-1"></a>| Default | Left | Right | Center |</span>
<span id="cb6-95"><a href="#cb6-95" aria-hidden="true" tabindex="-1"></a>|----|:--|---:|-----------------------:|</span>
<span id="cb6-96"><a href="#cb6-96" aria-hidden="true" tabindex="-1"></a>| 12 | 12 | 12 | 12 |</span>
<span id="cb6-97"><a href="#cb6-97" aria-hidden="true" tabindex="-1"></a>| 123 | 123 | 123 | 123 |</span>
<span id="cb6-98"><a href="#cb6-98" aria-hidden="true" tabindex="-1"></a>| 1 | 1 | 1 | 1 |</span>
</code><button title="Copy to Clipboard" class="code-copy-button" data-in-quarto-modal=""><i class="bi"></i></button></pre></div>
</div></div></div></div></div>
</div> <!-- /content -->
Expand Down
Binary file modified units/unit1_files/figure-html/cell-2-output-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions units/unit3.html
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ <h2 id="toc-title">On this page</h2>
<p>This is an example of using qmd as the source document with pdf as one target. I’ve taken out the qmd stuff that doesn’t seem to render to pdf.</p>
<section id="evaluated-python-code-chunk-with-a-plot" class="level2">
<h2 class="anchored" data-anchor-id="evaluated-python-code-chunk-with-a-plot">Evaluated Python code chunk, with a plot</h2>
<div id="23564796" class="cell" data-execution_count="1">
<div id="6c27a822" class="cell" data-execution_count="1">
<details open="" class="code-fold">
<summary>Code</summary>
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> numpy <span class="im">as</span> np</span>
Expand All @@ -298,12 +298,12 @@ <h2 class="anchored" data-anchor-id="evaluated-python-code-chunk-with-a-plot">Ev
<div class="cell-output cell-output-display">
<div>
<figure class="figure">
<p><img src="unit3_files/figure-html/cell-2-output-1.png" width="579" height="411" class="figure-img"></p>
<p><img src="unit3_files/figure-html/cell-2-output-1.png" width="566" height="411" class="figure-img"></p>
</figure>
</div>
</div>
<div class="cell-output cell-output-display" data-execution_count="1">
<pre><code>0.02780378200781541</code></pre>
<pre><code>-0.07562102396687749</code></pre>
</div>
</div>
</section>
Expand All @@ -316,7 +316,7 @@ <h2 class="anchored" data-anchor-id="latex">LaTeX</h2>
<section id="latex-macro" class="level2">
<h2 class="anchored" data-anchor-id="latex-macro">LaTeX macro</h2>
<blockquote class="blockquote">
<p><strong>Warning</strong>: having <code>include-before-body</code> in the yaml header of this file causes extra space at top of page.</p>
<p><strong>Warning</strong>: having <code>include-before-body</code> in the yaml header of this file, as seemingly needed to enable macros, causes extra space at top of page.</p>
</blockquote>
<p><span class="math display">\[
A = X \trans Y
Expand Down Expand Up @@ -836,7 +836,7 @@ <h2 class="anchored" data-anchor-id="latex-macro">LaTeX macro</h2>
<span id="cb3-37"><a href="#cb3-37" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb3-38"><a href="#cb3-38" aria-hidden="true" tabindex="-1"></a><span class="fu">## LaTeX macro</span></span>
<span id="cb3-39"><a href="#cb3-39" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb3-40"><a href="#cb3-40" aria-hidden="true" tabindex="-1"></a><span class="at">&gt; **Warning**: having </span><span class="in">`include-before-body`</span><span class="at"> in the yaml header of this file causes extra space at top of page.</span></span>
<span id="cb3-40"><a href="#cb3-40" aria-hidden="true" tabindex="-1"></a><span class="at">&gt; **Warning**: having </span><span class="in">`include-before-body`</span><span class="at"> in the yaml header of this file, as seemingly needed to enable macros, causes extra space at top of page.</span></span>
<span id="cb3-41"><a href="#cb3-41" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb3-42"><a href="#cb3-42" aria-hidden="true" tabindex="-1"></a>$$</span>
<span id="cb3-43"><a href="#cb3-43" aria-hidden="true" tabindex="-1"></a>A = X \trans Y</span>
Expand Down
Binary file modified units/unit3.pdf
Binary file not shown.
Binary file modified units/unit3_files/figure-html/cell-2-output-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8672d9b

Please sign in to comment.