From 4f04b3cc522c250d1935b726461bfb9e69cb1383 Mon Sep 17 00:00:00 2001 From: kweav Date: Mon, 5 May 2025 13:27:40 +0000 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=94=84=20Synced=20local=20'.github/wo?= =?UTF-8?q?rkflows/'=20with=20remote=20'.github/workflows/'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release-null --- .github/workflows/pull_request.yml | 3 +-- .github/workflows/render-all.yml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index de764597..2ce0dec6 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -249,9 +249,8 @@ jobs: - name: Build components of the comment id: build-components run: | - course_name=$(head -n 1 student-guide/_bookdown.yml | cut -d'"' -f 2| tr " " "-") bookdown_link=$(echo "https://htmlpreview.github.io/?https://raw.githubusercontent.com/$GITHUB_REPOSITORY/preview-${{ github.event.pull_request.number }}/docs/index.html") - student_guide=$(echo "https://github.com/$GITHUB_REPOSITORY/raw/preview-${{ github.event.pull_request.number }}/student-guide/Student_Guide.docx") + student_guide=$(echo "https://github.com/$GITHUB_REPOSITORY/raw/preview-${{ github.event.pull_request.number }}/student-guide/docs/Student_Guide.docx") zip_link=$(echo "https://github.com/$GITHUB_REPOSITORY/raw/preview-${{ github.event.pull_request.number }}/website-preview.zip") echo "zip_link=$zip_link" >> $GITHUB_OUTPUT echo "bookdown_link=$bookdown_link" >> $GITHUB_OUTPUT diff --git a/.github/workflows/render-all.yml b/.github/workflows/render-all.yml index 177b4a9c..5f7c4dda 100644 --- a/.github/workflows/render-all.yml +++ b/.github/workflows/render-all.yml @@ -31,6 +31,7 @@ jobs: toggle_website: "${{ env.RENDER_WEBSITE }}" toggle_coursera: "${{ env.RENDER_COURSERA }}" toggle_leanpub: "${{ env.RENDER_LEANPUB }}" + make_book_txt: "${{ env.MAKE_BOOK_TXT }}" toggle_feedback_link: "${{ env.FEEDBACK_LINK }}" toggle_student_guide: "${{ env.RENDER_STUDENT_GUIDE }}" rendering_docker_image: "${{ env.RENDERING_DOCKER_IMAGE }}" From 43dc7eeac2f0dbb9806ea052beae9f79e80f04cb Mon Sep 17 00:00:00 2001 From: kweav Date: Mon, 5 May 2025 13:27:41 +0000 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=94=84=20Synced=20local=20'style-sets?= =?UTF-8?q?'=20with=20remote=20'style-sets'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release-null --- style-sets/AnVIL_FH/_output.yml | 1 + style-sets/AnVIL_JHU/_output.yml | 1 + style-sets/GDSCN/_output.yml | 1 + style-sets/GDSCN_JHU/_output.yml | 1 + style-sets/fhdasl/_output.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/style-sets/AnVIL_FH/_output.yml b/style-sets/AnVIL_FH/_output.yml index 7cba311e..7d6b017c 100644 --- a/style-sets/AnVIL_FH/_output.yml +++ b/style-sets/AnVIL_FH/_output.yml @@ -2,6 +2,7 @@ bookdown::gitbook: # When using multiple css files, the default file path will be the first one # css: [assets/style.css, assets/AnVIL_style/anvil.css] includes: + in_header: GA_Script.html before_body: assets/AnVIL_style/big-image_anvil.html after_body: assets/AnVIL_style/footer.html highlight: tango diff --git a/style-sets/AnVIL_JHU/_output.yml b/style-sets/AnVIL_JHU/_output.yml index a3a71459..743fcf26 100644 --- a/style-sets/AnVIL_JHU/_output.yml +++ b/style-sets/AnVIL_JHU/_output.yml @@ -2,6 +2,7 @@ bookdown::gitbook: # When using multiple css files, the default file path will be the first one # css: [assets/style.css, assets/AnVIL_style/anvil.css] includes: + in_header: GA_Script.html before_body: assets/AnVIL_style/big-image_anvil.html after_body: assets/AnVIL_style/footer.html highlight: tango diff --git a/style-sets/GDSCN/_output.yml b/style-sets/GDSCN/_output.yml index 4156fd74..df9a9f22 100644 --- a/style-sets/GDSCN/_output.yml +++ b/style-sets/GDSCN/_output.yml @@ -2,6 +2,7 @@ bookdown::gitbook: # When using multiple css files, the default file path will be the first one # css: [assets/style.css, assets/GDSCN_style/gdscn.css] includes: + in_header: GA_Script.html before_body: assets/GDSCN_style/big-image_gdscn.html after_body: assets/GDSCN_style/footer.html highlight: tango diff --git a/style-sets/GDSCN_JHU/_output.yml b/style-sets/GDSCN_JHU/_output.yml index 2bbb202b..0651f27e 100644 --- a/style-sets/GDSCN_JHU/_output.yml +++ b/style-sets/GDSCN_JHU/_output.yml @@ -2,6 +2,7 @@ bookdown::gitbook: # When using multiple css files, the default file path will be the first one # css: [assets/style.css, assets/GDSCN_style/gdscn.css] includes: + in_header: GA_Script.html before_body: assets/GDSCN_style/big-image_gdscn.html after_body: assets/GDSCN_style/footer.html highlight: tango diff --git a/style-sets/fhdasl/_output.yml b/style-sets/fhdasl/_output.yml index 0a864962..108c33e1 100644 --- a/style-sets/fhdasl/_output.yml +++ b/style-sets/fhdasl/_output.yml @@ -1,6 +1,7 @@ bookdown::gitbook: css: assets/style.css includes: + in_header: GA_Script.html before_body: assets/big-image_fhdasl.html after_body: assets/footer.html split_bib: false From 243f1042ab7a71d952a1b8cf0ef5da4d56ccc409 Mon Sep 17 00:00:00 2001 From: kweav Date: Mon, 5 May 2025 13:27:41 +0000 Subject: [PATCH 3/5] =?UTF-8?q?=F0=9F=94=84=20Synced=20local=20'config=5Fa?= =?UTF-8?q?utomation.yml'=20with=20remote=20'config=5Fautomation.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release-null --- config_automation.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config_automation.yml b/config_automation.yml index 5819e564..dcc9d6c5 100644 --- a/config_automation.yml +++ b/config_automation.yml @@ -25,6 +25,10 @@ render-website: rmd render-leanpub: no render-coursera: no +## Automate the creation of Book.txt file? yes/no +## This is only relevant if render-leanpub is yes, otherwise it will be ignored +make-book-txt: yes + ##### Rendering of student guide (if applicable) render-student-guide: yes From 4fc0a93cd4d7ce3e014701f8d5c9d341f9ebc984 Mon Sep 17 00:00:00 2001 From: kweav Date: Mon, 5 May 2025 13:27:41 +0000 Subject: [PATCH 4/5] =?UTF-8?q?=F0=9F=94=84=20Synced=20local=20'=5Foutput.?= =?UTF-8?q?yml'=20with=20remote=20'style-sets/AnVIL=5FJHU/=5Foutput.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release-null --- _output.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_output.yml b/_output.yml index ad2cdd1e..743fcf26 100644 --- a/_output.yml +++ b/_output.yml @@ -16,6 +16,6 @@ bookdown::gitbook:

The Johns Hopkins Data Science Lab

Style adapted from: rstudio4edu-book (CC-BY 2.0)

-

+

-# Note: Do not edit the feedback link in this file. This is automatically edited through the render-preview and render-bookdown workflows. +# Note: Do not edit the feedback link in this file. This is automatically edited through the render-preview and render-bookdown workflows. \ No newline at end of file From a6418ed3d00dd3e826771c3d9edb119f1db85d32 Mon Sep 17 00:00:00 2001 From: avahoffman Date: Mon, 5 May 2025 14:30:54 -0400 Subject: [PATCH 5/5] url fix --- 03_Content_Preparation.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_Content_Preparation.Rmd b/03_Content_Preparation.Rmd index d36694b3..2aa7dd99 100644 --- a/03_Content_Preparation.Rmd +++ b/03_Content_Preparation.Rmd @@ -309,7 +309,7 @@ Briefly, you should: 1. Return to RStudio on AnVIL and Initialize your `.Rproj`. -1. [`add`](https://git-scm.com/docs/git-add/en) and [`commit`](https://git-scm.com/docs/git-commit) your changes on AnVIL. +1. [`add`](https://git-scm.com/docs/git-add) and [`commit`](https://git-scm.com/docs/git-commit) your changes on AnVIL. 1. [`rename`](https://git-scm.com/docs/git-remote) and [`add`](https://git-scm.com/docs/git-remote) a new origin that points to the new repository you just created.