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
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="https://hutchdatascience.org/"> The Fred Hutch Data Science Lab </a></p>
<a href="https://hutchdatascience.org/" target="_blank"><img src="https://raw.githubusercontent.com/jhudsl/OTTR_Template/main/style-sets/fhdasl/copy_to_assets/big-dasl-stacked.png" style="width: 80%; padding-left: 34px; padding-top: 8px;"</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=GDSCN+Book:+SARS+with+RStudio+on+AnVIL"> 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.
6 changes: 5 additions & 1 deletion config_automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@ 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: no
render-student-guide: yes

##### Auto-generate a feedback link for the AnVIL Feedback Form: https://docs.google.com/forms/d/e/1FAIpQLScrDVb_utm55pmb_SHx-RgELTEbCCWdLea0T3IzS0Oj00GE4w/viewform
feedback-link: yes
Expand Down
7 changes: 4 additions & 3 deletions student-guide/_bookdown.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
book_filename: "Student_Guide"
chapter_name: "Chapter "
repo: https://github.com/jhudsl/AnVIL_Template/
repo: https://github.com/fhdsl/GDSCN_SARS_RStudio_on_AnVIL/pull/17
rmd_files: ["index.Rmd",
"09-student_guide.Rmd",
"About.Rmd",
"References.Rmd"]
new_session: yes
bibliography: [book.bib]
delete_merged_file: true
language:
ui:
chapter_name: "Chapter"
output_dir: "student-guide"
book_filename: "Student_Guide" # Do not change
output_dir: "student-guide/docs" # Do not change
2 changes: 2 additions & 0 deletions student-guide/_output.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bookdown::word_document2:
toc: true
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