Skip to content

Commit

Permalink
Merge pull request #3 from fhdsl/kweav-patch-1
Browse files Browse the repository at this point in the history
Update config_automation.yml
  • Loading branch information
caalo authored Jan 14, 2025
2 parents afeface + 3110787 commit b6930d5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ jobs:
git fetch --all
git checkout $branch_name
git merge -s recursive --strategy-option=theirs origin/${{ github.head_ref }} --allow-unrelated-histories
quarto --version
quarto check
shell: bash

# Run bookdown rendering
Expand All @@ -174,7 +176,9 @@ jobs:
- name: Render quarto version
id: quarto
if: ${{needs.yaml-check.outputs.toggle_website == 'quarto' }}
run: Rscript -e "quarto::quarto_render('.')"
run: |
quarto::quarto_render('.')
shell: Rscript {0}

# This checks on the steps before it and makes sure that they completed.
# If the renders didn't complete we don't want to commit the file changes
Expand Down
27 changes: 13 additions & 14 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ book:
author: Howard Baek
date: "4/3/2024"
favicon: img/favicon.ico
bread-crumbs: false

page-navigation: true
search: true
repo-url: https://github.com/fhdsl/OTTR_Quarto
repo-actions: [edit]
repo-actions: [edit]
issue-url: https://docs.google.com/forms/d/e/1FAIpQLSfBvVELBg8lcynKj0TrzMlov1zil-Sbkh9VhMKRcSpeo1xo6g/viewform

chapters:
- index.qmd
- intro.qmd
Expand All @@ -29,27 +28,27 @@ book:
- third-section-new-chapter.qmd
- conclusion.qmd
- references.qmd
sidebar:

sidebar:
logo: "img/logo.png"
logo-href: "https://hutchdatascience.org/"
foreground: "#1B365D"

page-footer:
left: |
This book was built with <a href="https://quarto.org/" style="color: #fff;">Quarto</a> using
This book was built with <a href="https://quarto.org/" style="color: #fff;">Quarto</a> using
<a href="https://github.com/fhdsl/OTTR_Quarto" style="color: #fff;">OTTR</a>.
center: |
All illustrations <a href="https://creativecommons.org/licenses/by/4.0/" style="color: #fff;">CC-BY. </a>
<br>
All other materials <a href= "https://creativecommons.org/licenses/by/4.0/" style="color: #fff;"> CC-BY </a> unless noted otherwise.
right:
right:
- icon: github
href: https://github.com/
- icon: slack
href: https://fhdata.slack.com/join/signup#/domain-signup



bibliography: references.bib

Expand All @@ -60,17 +59,17 @@ format:
css: style.css
linkcolor: "#00C1D5"
mainfont: "Karla"

sidebar: true
toc: true

code-link: true
code-copy: true

link-external-newwindow: true

image: img/favicon.ico
license: "CC BY"
knitr:
opts_chunk:
fig.path: "resources/images/figure/"
fig.path: "resources/images/figure/"
2 changes: 1 addition & 1 deletion config_automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ render-coursera: no

# What docker image should be used for rendering?
# The default is jhudsl/base_ottr:latest
rendering_docker_image: 'jhudsl/ottr_jupyter:latest'
rendering-docker-image: 'jhudsl/ottr_jupyter:main'

0 comments on commit b6930d5

Please sign in to comment.