Skip to content

Commit

Permalink
Render toc-less
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 19, 2024
1 parent e32fade commit 536db31
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 18 deletions.
4 changes: 1 addition & 3 deletions docs/no_toc/01-intro.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@



# Introduction


Expand Down Expand Up @@ -32,7 +30,7 @@ devtools::session_info()
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2024-11-07
## date 2024-12-19
## pandoc 3.1.1 @ /usr/local/bin/ (via rmarkdown)
##
## ─ Packages ───────────────────────────────────────────────────────────────────
Expand Down
9 changes: 3 additions & 6 deletions docs/no_toc/02-chapter_of_course.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ To see the rendered version of this chapter and the rest of the template, see he

Every chapter needs to start out with this chunk of code:




## Learning Objectives

Every chapter also needs Learning objectives that will look like this:
Expand Down Expand Up @@ -59,7 +56,7 @@ And make plots too:
hist_plot <- hist(iris$Sepal.Length)
```

<img src="resources/images/02-chapter_of_course_files/figure-html/unnamed-chunk-4-1.png" width="672" />
<img src="02-chapter_of_course_files/figure-html/unnamed-chunk-3-1.png" width="672" />

You can also save these plots to file:

Expand Down Expand Up @@ -107,7 +104,7 @@ dev.off()
How to include a Google slide. It's simplest to use the `ottrpal` package:


<img src="resources/images/02-chapter_of_course_files/figure-html//1YmwKdIy9BeQ3EShgZhvtb3MgR8P6iDX4DfFD65W_gdQ_gcc4fbee202_0_141.png" alt="Major point!! example image" width="100%" style="display: block; margin: auto;" />
<img src="02-chapter_of_course_files/figure-html//1YmwKdIy9BeQ3EShgZhvtb3MgR8P6iDX4DfFD65W_gdQ_gcc4fbee202_0_141.png" alt="Major point!! example image" width="100%" style="display: block; margin: auto;" />

But if you have the slide or some other image locally downloaded you can also use HTML like this:

Expand Down Expand Up @@ -298,7 +295,7 @@ devtools::session_info()
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2024-11-07
## date 2024-12-19
## pandoc 3.1.1 @ /usr/local/bin/ (via rmarkdown)
##
## ─ Packages ───────────────────────────────────────────────────────────────────
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/no_toc/About.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ These credits are based on our [course contributors table guidelines](https://ww
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2024-11-07
## date 2024-12-19
## pandoc 3.1.1 @ /usr/local/bin/ (via rmarkdown)
##
## ─ Packages ───────────────────────────────────────────────────────────────────
Expand Down
6 changes: 3 additions & 3 deletions docs/no_toc/a-new-chapter.html
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ <h2><span class="header-section-number">2.4</span> Code examples<a href="a-new-c
<span id="cb4-4"><a href="a-new-chapter.html#cb4-4" tabindex="-1"></a>}</span></code></pre></div>
<p>And make plots too:</p>
<div class="sourceCode" id="cb5"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb5-1"><a href="a-new-chapter.html#cb5-1" tabindex="-1"></a>hist_plot <span class="ot">&lt;-</span> <span class="fu">hist</span>(iris<span class="sc">$</span>Sepal.Length)</span></code></pre></div>
<p><img src="resources/images/02-chapter_of_course_files/figure-html/unnamed-chunk-4-1.png" width="672" /></p>
<p><img src="02-chapter_of_course_files/figure-html/unnamed-chunk-3-1.png" width="672" /></p>
<p>You can also save these plots to file:</p>
<div class="sourceCode" id="cb6"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb6-1"><a href="a-new-chapter.html#cb6-1" tabindex="-1"></a><span class="fu">png</span>(<span class="fu">file.path</span>(output_dir, <span class="st">&quot;test_plot.png&quot;</span>))</span>
<span id="cb6-2"><a href="a-new-chapter.html#cb6-2" tabindex="-1"></a>hist_plot</span></code></pre></div>
Expand Down Expand Up @@ -308,7 +308,7 @@ <h2><span class="header-section-number">2.4</span> Code examples<a href="a-new-c
<div id="image-example" class="section level2 hasAnchor" number="2.5">
<h2><span class="header-section-number">2.5</span> Image example<a href="a-new-chapter.html#image-example" class="anchor-section" aria-label="Anchor link to header"></a></h2>
<p>How to include a Google slide. It’s simplest to use the <code>ottrpal</code> package:</p>
<p><img src="resources/images/02-chapter_of_course_files/figure-html/1YmwKdIy9BeQ3EShgZhvtb3MgR8P6iDX4DfFD65W_gdQ_gcc4fbee202_0_141.png" alt="Major point!! example image" width="100%" style="display: block; margin: auto;" /></p>
<p><img src="02-chapter_of_course_files/figure-html/1YmwKdIy9BeQ3EShgZhvtb3MgR8P6iDX4DfFD65W_gdQ_gcc4fbee202_0_141.png" alt="Major point!! example image" width="100%" style="display: block; margin: auto;" /></p>
<p>But if you have the slide or some other image locally downloaded you can also use HTML like this:</p>
<p><img src="resources/images/02-chapter_of_course_files/figure-html/1YmwKdIy9BeQ3EShgZhvtb3MgR8P6iDX4DfFD65W_gdQ_gcc4fbee202_0_141.png" title="Major point!! example image" alt="Major point!! example image" style="display: block; margin: auto;" /></p>
</div>
Expand Down Expand Up @@ -444,7 +444,7 @@ <h2><span class="header-section-number">2.11</span> Print out session info<a hre
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2024-11-07
## date 2024-12-19
## pandoc 3.1.1 @ /usr/local/bin/ (via rmarkdown)
##
## ─ Packages ───────────────────────────────────────────────────────────────────
Expand Down
2 changes: 1 addition & 1 deletion docs/no_toc/about-the-authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ <h1>About the Authors<a href="about-the-authors.html#about-the-authors" class="a
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2024-11-07
## date 2024-12-19
## pandoc 3.1.1 @ /usr/local/bin/ (via rmarkdown)
##
## ─ Packages ───────────────────────────────────────────────────────────────────
Expand Down
2 changes: 1 addition & 1 deletion docs/no_toc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ <h1>
</div>
<div id="header">
<h1 class="title">Course Name</h1>
<p class="date"><em>November, 2024</em></p>
<p class="date"><em>December, 2024</em></p>
</div>
<div id="about-this-course" class="section level1 unnumbered hasAnchor">
<h1>About this Course<a href="index.html#about-this-course" class="anchor-section" aria-label="Anchor link to header"></a></h1>
Expand Down
2 changes: 1 addition & 1 deletion docs/no_toc/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Course Name"
date: "November, 2024"
date: "December, 2024"
site: bookdown::bookdown_site
documentclass: book
bibliography: [book.bib]
Expand Down
2 changes: 1 addition & 1 deletion docs/no_toc/introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ <h2><span class="header-section-number">1.3</span> Curriculum<a href="introducti
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2024-11-07
## date 2024-12-19
## pandoc 3.1.1 @ /usr/local/bin/ (via rmarkdown)
##
## ─ Packages ───────────────────────────────────────────────────────────────────
Expand Down
2 changes: 1 addition & 1 deletion docs/no_toc/search_index.json

Large diffs are not rendered by default.

0 comments on commit 536db31

Please sign in to comment.