diff --git a/README.md b/README.md index f3f7637..dd46b0b 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,28 @@ + + # Introduction to Trial Design An AAGI [reveal.js](https://revealjs.com) slide deck built with [Quarto](https://quarto.org/docs/presentations/revealjs/) that covers basic experimental design for industry partners. ## Viewing and Presenting the Slides -Go [here](https://aagi-aus.github.io/Intro_to_Trial_Design/aagi_cu_trial_design.html#/title-slide) and hit "S" for a separate window that will have the speaker notes so you can see what each slide covers in more detail. -Hit "F" on the main screen for a full-screen or select from the hamburger menu icon in the lower left corner of your screen. +### HTML Interactive Slide Show + +Go [here](https://aagi-aus.github.io/Intro_to_Trial_Design/aagi_cu_trial_design.html#/title-slide) and hit "s" for a separate window that will have the speaker notes so you can see what each slide covers in more detail. +Hit "f" on the main screen for a full-screen or select from the hamburger menu icon in the lower left corner of your screen. + +### PDF of the Slides -## Modifying and Building +A [PDF](GGA_training_session_3_trial_design.pdf) file version of the slides is also available. + +## Modifying and Building the Slides You will need [Quarto](https://quarto.org) installed locally to rebuild the slide deck but not to view or present the HTML slide deck. Then, the `aagi_cu_trial_design.qmd` can be knit to create `aagi_cu_trial_design.html`. -[Playwright.py](https://playwright.dev/python/docs/intro) was used to generate `aagi_cu_trial_design.pdf` for printed handouts via `render_pdf.py`. +## Modifying and Building the Website + +To update the website, use `quarto publish gh-pages` in the root directory of this repository. + +![](assets/Partners.svg) diff --git a/_site/aagi_cu_trial_design.html b/_site/aagi_cu_trial_design.html index ed17538..b1ca447 100644 --- a/_site/aagi_cu_trial_design.html +++ b/_site/aagi_cu_trial_design.html @@ -629,23 +629,23 @@

Blocking

Blocking Barley Varieties

-
- @@ -1150,23 +1150,23 @@

Blocking Barley Varieties

Blocking Exercise

-
- diff --git a/GGA_training_session_3_trial_design.pdf b/aagi_cu_trial_design.pdf similarity index 100% rename from GGA_training_session_3_trial_design.pdf rename to aagi_cu_trial_design.pdf diff --git a/render_pdf.py b/render_pdf.py deleted file mode 100644 index 4ffac54..0000000 --- a/render_pdf.py +++ /dev/null @@ -1,17 +0,0 @@ -import os -import argparse -from playwright.sync_api import sync_playwright - -parser = argparse.ArgumentParser(description = "Generate PDF slides from Reveal.js HTML") -parser.add_argument("input", help = "HTML filename", type = os.path.abspath) -parser.add_argument("output", help = "PDF filename", type = os.path.abspath) -args = parser.parse_args() - -with sync_playwright() as p: - browser = p.chromium.launch() - page = browser.new_page() - url = "file://" + args.input - - page.goto(url + "?print-pdf", wait_until = "networkidle") - page.locator(".reveal.ready").wait_for() - page.pdf(path = args.output, prefer_css_page_size = True)