Skip to content

Commit

Permalink
New build tidying up yaml and providing ebook file in built docs for …
Browse files Browse the repository at this point in the history
…download.
  • Loading branch information
abers committed Sep 9, 2024
1 parent dae9af4 commit 09c480e
Show file tree
Hide file tree
Showing 20 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
set -ev

Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::gitbook')"
Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::pdf_book')"
#Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::pdf_book')"
Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::epub_book')"

4 changes: 2 additions & 2 deletions _output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ bookdown::gitbook:
<li><a href="./">UG Quantitative Methods in the Social Sciences: Workbook</a></li>
after: |
<li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
edit: https://github.com/rstudio/bookdown-demo/edit/master/%s
download: ["pdf", "epub"]
download: ["epub"]
bookdown::pdf_book:
includes:
in_header: preamble.tex
latex_engine: xelatex
citation_package: natbib
keep_tex: yes
# fig_caption: true
bookdown::epub_book: default
bookdown::bs4_book: default
8 changes: 4 additions & 4 deletions docs/answers.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="by J Rafael Verudzco Torres and Mark Wong" />


<meta name="date" content="2024-09-05" />
<meta name="date" content="2024-09-09" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -1137,8 +1137,8 @@ <h3><span class="header-section-number">10.13.1</span> Lab activities<a href="an
"size": 2
},
"edit": {
"link": "https://github.com/rstudio/bookdown-demo/edit/master/11-Answers.Rmd",
"text": "Edit"
"link": null,
"text": null
},
"history": {
"link": null,
Expand All @@ -1148,7 +1148,7 @@ <h3><span class="header-section-number">10.13.1</span> Lab activities<a href="an
"link": null,
"text": null
},
"download": ["lab-workbook.pdf", "lab-workbook.epub"],
"download": ["lab-workbook.epub"],
"search": {
"engine": "fuse",
"options": null
Expand Down
8 changes: 4 additions & 4 deletions docs/correlation.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="by J Rafael Verudzco Torres and Mark Wong" />


<meta name="date" content="2024-09-05" />
<meta name="date" content="2024-09-09" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -571,8 +571,8 @@ <h3><span class="header-section-number">7.2.1</span> Activity 3<a href="correlat
"size": 2
},
"edit": {
"link": "https://github.com/rstudio/bookdown-demo/edit/master/07-Lab7.Rmd",
"text": "Edit"
"link": null,
"text": null
},
"history": {
"link": null,
Expand All @@ -582,7 +582,7 @@ <h3><span class="header-section-number">7.2.1</span> Activity 3<a href="correlat
"link": null,
"text": null
},
"download": ["lab-workbook.pdf", "lab-workbook.epub"],
"download": ["lab-workbook.epub"],
"search": {
"engine": "fuse",
"options": null
Expand Down
8 changes: 4 additions & 4 deletions docs/data-wrangling-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="by J Rafael Verudzco Torres and Mark Wong" />


<meta name="date" content="2024-09-05" />
<meta name="date" content="2024-09-09" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -503,8 +503,8 @@ <h3><span class="header-section-number">3.3.1</span> Activity<a href="data-wrang
"size": 2
},
"edit": {
"link": "https://github.com/rstudio/bookdown-demo/edit/master/03-Lab3.Rmd",
"text": "Edit"
"link": null,
"text": null
},
"history": {
"link": null,
Expand All @@ -514,7 +514,7 @@ <h3><span class="header-section-number">3.3.1</span> Activity<a href="data-wrang
"link": null,
"text": null
},
"download": ["lab-workbook.pdf", "lab-workbook.epub"],
"download": ["lab-workbook.epub"],
"search": {
"engine": "fuse",
"options": null
Expand Down
8 changes: 4 additions & 4 deletions docs/exploratory-data-analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="by J Rafael Verudzco Torres and Mark Wong" />


<meta name="date" content="2024-09-05" />
<meta name="date" content="2024-09-09" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -934,8 +934,8 @@ <h3><span class="header-section-number">4.2.6</span> Activity 2<a href="explorat
"size": 2
},
"edit": {
"link": "https://github.com/rstudio/bookdown-demo/edit/master/04-Lab4.Rmd",
"text": "Edit"
"link": null,
"text": null
},
"history": {
"link": null,
Expand All @@ -945,7 +945,7 @@ <h3><span class="header-section-number">4.2.6</span> Activity 2<a href="explorat
"link": null,
"text": null
},
"download": ["lab-workbook.pdf", "lab-workbook.epub"],
"download": ["lab-workbook.epub"],
"search": {
"engine": "fuse",
"options": null
Expand Down
10 changes: 5 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="by J Rafael Verudzco Torres and Mark Wong" />


<meta name="date" content="2024-09-05" />
<meta name="date" content="2024-09-09" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -373,7 +373,7 @@ <h1>
<h1 class="title">UG Quantitative Methods in the Social Sciences lab workbook</h1>
<h2 class="subtitle"><em>A step-by-step guide for conducting quantitative research with R</em></h2>
<p class="author"><em>by J Rafael Verudzco Torres and Mark Wong</em></p>
<p class="date"><em>2024-09-05</em></p>
<p class="date"><em>2024-09-09</em></p>
</div>
<div id="Welcome" class="section level1 unnumbered hasAnchor">
<h1>Welcome<a href="index.html#Welcome" class="anchor-section" aria-label="Anchor link to header"></a></h1>
Expand Down Expand Up @@ -423,8 +423,8 @@ <h1>Welcome<a href="index.html#Welcome" class="anchor-section" aria-label="Ancho
"size": 2
},
"edit": {
"link": "https://github.com/rstudio/bookdown-demo/edit/master/index.Rmd",
"text": "Edit"
"link": null,
"text": null
},
"history": {
"link": null,
Expand All @@ -434,7 +434,7 @@ <h1>Welcome<a href="index.html#Welcome" class="anchor-section" aria-label="Ancho
"link": null,
"text": null
},
"download": ["lab-workbook.pdf", "lab-workbook.epub"],
"download": ["lab-workbook.epub"],
"search": {
"engine": "fuse",
"options": null
Expand Down
8 changes: 4 additions & 4 deletions docs/lab-intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="by J Rafael Verudzco Torres and Mark Wong" />


<meta name="date" content="2024-09-05" />
<meta name="date" content="2024-09-09" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -638,8 +638,8 @@ <h3>References<a href="references.html#references" class="anchor-section" aria-l
"size": 2
},
"edit": {
"link": "https://github.com/rstudio/bookdown-demo/edit/master/01-intro.Rmd",
"text": "Edit"
"link": null,
"text": null
},
"history": {
"link": null,
Expand All @@ -649,7 +649,7 @@ <h3>References<a href="references.html#references" class="anchor-section" aria-l
"link": null,
"text": null
},
"download": ["lab-workbook.pdf", "lab-workbook.epub"],
"download": ["lab-workbook.epub"],
"search": {
"engine": "fuse",
"options": null
Expand Down
Binary file added docs/lab-workbook.epub
Binary file not shown.
Binary file modified docs/lab-workbook_files/figure-html/unnamed-chunk-71-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions docs/lab2.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="by J Rafael Verudzco Torres and Mark Wong" />


<meta name="date" content="2024-09-05" />
<meta name="date" content="2024-09-09" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -637,8 +637,8 @@ <h3>References<a href="references.html#references" class="anchor-section" aria-l
"size": 2
},
"edit": {
"link": "https://github.com/rstudio/bookdown-demo/edit/master/02-Lab2.Rmd",
"text": "Edit"
"link": null,
"text": null
},
"history": {
"link": null,
Expand All @@ -648,7 +648,7 @@ <h3>References<a href="references.html#references" class="anchor-section" aria-l
"link": null,
"text": null
},
"download": ["lab-workbook.pdf", "lab-workbook.epub"],
"download": ["lab-workbook.epub"],
"search": {
"engine": "fuse",
"options": null
Expand Down
8 changes: 4 additions & 4 deletions docs/multi-lm.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="by J Rafael Verudzco Torres and Mark Wong" />


<meta name="date" content="2024-09-05" />
<meta name="date" content="2024-09-09" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -644,8 +644,8 @@ <h2><span class="header-section-number">9.5</span> Lab activities<a href="multi-
"size": 2
},
"edit": {
"link": "https://github.com/rstudio/bookdown-demo/edit/master/09-Lab9.Rmd",
"text": "Edit"
"link": null,
"text": null
},
"history": {
"link": null,
Expand All @@ -655,7 +655,7 @@ <h2><span class="header-section-number">9.5</span> Lab activities<a href="multi-
"link": null,
"text": null
},
"download": ["lab-workbook.pdf", "lab-workbook.epub"],
"download": ["lab-workbook.epub"],
"search": {
"engine": "fuse",
"options": null
Expand Down
8 changes: 4 additions & 4 deletions docs/references.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="by J Rafael Verudzco Torres and Mark Wong" />


<meta name="date" content="2024-09-05" />
<meta name="date" content="2024-09-09" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -431,8 +431,8 @@ <h1>References<a href="references.html#references" class="anchor-section" aria-l
"size": 2
},
"edit": {
"link": "https://github.com/rstudio/bookdown-demo/edit/master/99-references.Rmd",
"text": "Edit"
"link": null,
"text": null
},
"history": {
"link": null,
Expand All @@ -442,7 +442,7 @@ <h1>References<a href="references.html#references" class="anchor-section" aria-l
"link": null,
"text": null
},
"download": ["lab-workbook.pdf", "lab-workbook.epub"],
"download": ["lab-workbook.epub"],
"search": {
"engine": "fuse",
"options": null
Expand Down
8 changes: 4 additions & 4 deletions docs/reporting-in-r-markdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="by J Rafael Verudzco Torres and Mark Wong" />


<meta name="date" content="2024-09-05" />
<meta name="date" content="2024-09-09" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -477,8 +477,8 @@ <h2><span class="header-section-number">5.3</span> Activity<a href="reporting-in
"size": 2
},
"edit": {
"link": "https://github.com/rstudio/bookdown-demo/edit/master/05-lab5.Rmd",
"text": "Edit"
"link": null,
"text": null
},
"history": {
"link": null,
Expand All @@ -488,7 +488,7 @@ <h2><span class="header-section-number">5.3</span> Activity<a href="reporting-in
"link": null,
"text": null
},
"download": ["lab-workbook.pdf", "lab-workbook.epub"],
"download": ["lab-workbook.epub"],
"search": {
"engine": "fuse",
"options": null
Expand Down
2 changes: 1 addition & 1 deletion docs/search_index.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/simple-lm.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="by J Rafael Verudzco Torres and Mark Wong" />


<meta name="date" content="2024-09-05" />
<meta name="date" content="2024-09-09" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -635,8 +635,8 @@ <h2><span class="header-section-number">8.5</span> Lab activities<a href="simple
"size": 2
},
"edit": {
"link": "https://github.com/rstudio/bookdown-demo/edit/master/08-Lab8.Rmd",
"text": "Edit"
"link": null,
"text": null
},
"history": {
"link": null,
Expand All @@ -646,7 +646,7 @@ <h2><span class="header-section-number">8.5</span> Lab activities<a href="simple
"link": null,
"text": null
},
"download": ["lab-workbook.pdf", "lab-workbook.epub"],
"download": ["lab-workbook.epub"],
"search": {
"engine": "fuse",
"options": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta name="author" content="by J Rafael Verudzco Torres and Mark Wong" />


<meta name="date" content="2024-09-05" />
<meta name="date" content="2024-09-09" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -495,8 +495,8 @@ <h2><span class="header-section-number">10.6</span> Conclusion<a href="ug-quants
"size": 2
},
"edit": {
"link": "https://github.com/rstudio/bookdown-demo/edit/master/10-Lab10.Rmd",
"text": "Edit"
"link": null,
"text": null
},
"history": {
"link": null,
Expand All @@ -506,7 +506,7 @@ <h2><span class="header-section-number">10.6</span> Conclusion<a href="ug-quants
"link": null,
"text": null
},
"download": ["lab-workbook.pdf", "lab-workbook.epub"],
"download": ["lab-workbook.epub"],
"search": {
"engine": "fuse",
"options": null
Expand Down
Loading

0 comments on commit 09c480e

Please sign in to comment.