Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/render-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
2 changes: 1 addition & 1 deletion 03_Content_Preparation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions _output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ bookdown::gitbook:
<p style="text-align:center;"> <a href="http://jhudatascience.org/"> The Johns Hopkins Data Science Lab </a></p>
<a href="http://jhudatascience.org/"><img src="https://jhudatascience.org/images/dasl.png" style=" width: 80%; padding-left: 40px; padding-top: 8px; vertical-align: top "</a>
<p style="text-align:center; font-size: 12px;"> <a href="https://github.com/rstudio4edu/rstudio4edu-book/"> Style adapted from: rstudio4edu-book </a> <a href ="https://creativecommons.org/licenses/by/2.0/"> (CC-BY 2.0) </a></p>
<p style="padding-left: 40px;"><div class="trapezoid" style = "padding-left: 40px;"><span><a href="https://docs.google.com/forms/d/e/1FAIpQLScrDVb_utm55pmb_SHx-RgELTEbCCWdLea0T3IzS0Oj00GE4w/viewform?usp=pp_url&entry.1565230805=AnVIL+Instructor+Guide"> Click here to provide feedback</a> <img src="assets/itcr_arrow.png" style=" width: 10%" ></span></div></p>
<p style="padding-left: 40px;"><div class="trapezoid" style = "padding-left: 40px;"><span><a href="https://docs.google.com/forms/d/e/1FAIpQLScrDVb_utm55pmb_SHx-RgELTEbCCWdLea0T3IzS0Oj00GE4w/viewform?usp=pp_url&entry.1565230805=your+course"> Click here to provide feedback</a> <img src="assets/itcr_arrow.png" style=" width: 10%" ></span></div></p>

# 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.
4 changes: 4 additions & 0 deletions config_automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions style-sets/AnVIL_FH/_output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions style-sets/AnVIL_JHU/_output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions style-sets/GDSCN/_output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions style-sets/GDSCN_JHU/_output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions style-sets/fhdasl/_output.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading