diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 091af95..26aa87a 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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 @@ -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 diff --git a/_quarto.yml b/_quarto.yml index 551ecd0..6bbbf4d 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -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 @@ -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 Quarto using + This book was built with Quarto using OTTR. center: | All illustrations CC-BY.
All other materials CC-BY 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 @@ -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/" \ No newline at end of file + fig.path: "resources/images/figure/" diff --git a/config_automation.yml b/config_automation.yml index dab600b..e946aa4 100644 --- a/config_automation.yml +++ b/config_automation.yml @@ -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'