From 5fc3caeb5b394d6745c111ddc833a6c0478e05fc Mon Sep 17 00:00:00 2001 From: "behinger (s-ccs 001)" Date: Wed, 11 Oct 2023 07:27:29 +0000 Subject: [PATCH] local changes --- _quarto.yml | 2 +- material/1_mon/firststeps/tasks.qmd | 2 +- material/3_wed/docs/handout.qmd | 9 ++++++++- material/3_wed/docs/tasks.qmd | 7 ++++--- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/_quarto.yml b/_quarto.yml index 4db53c5..8b54e1b 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -42,7 +42,7 @@ website: - href: material/1_mon/rse/rse_basics_slides.qmd text: "📊 1 - RSE" - href: "material/1_mon/why_julia/page.qmd" - text: "📊 2 - Why Julia" + text: "📊 2 - Why Julia" - href: "material/1_mon/firststeps/firststeps_handout.qmd" text: "📝 3 - First Steps: Handout" - href: "material/1_mon/firststeps/tasks.qmd" diff --git a/material/1_mon/firststeps/tasks.qmd b/material/1_mon/firststeps/tasks.qmd index 5794768..5eaaa44 100644 --- a/material/1_mon/firststeps/tasks.qmd +++ b/material/1_mon/firststeps/tasks.qmd @@ -40,6 +40,6 @@ And that's it! You should have a nice progress bar now 1. Implement a type `StatResult` with fields for `x`, `n`, `std` and `tvalue` 2. Implement an outer constructor that can run `StatResult(2:10)` and return the full type including the calculated t-values. -3. Implement a function `length` for `StatResult` to multiple-dispatch on +3. Implement a function length for StatResult (using multiple-dispatch) which returns the `.n` field. Overload "Base.length" 4. **Optional:** If you have time, optimize the functions, so that mean, sum, length, std etc. is not calculated multiple times - you might want to rewrite your type. Note: This is a bit tricky :) diff --git a/material/3_wed/docs/handout.qmd b/material/3_wed/docs/handout.qmd index 122f4ba..b8234c2 100644 --- a/material/3_wed/docs/handout.qmd +++ b/material/3_wed/docs/handout.qmd @@ -1,3 +1,7 @@ +--- + +--- + ::: callout [Link to Slides](slides.qmd) ::: @@ -7,6 +11,7 @@ Solve [task 1](tasks.qmd#1) ---- + # Documenter.jl ### File-structure overview @@ -44,7 +49,9 @@ makedocs( ``` ### How to generate - `julia --project=docs/ docs/make.jl` or `]activate docs/; include("make.jl")` or use `LiveServer.jl` + - `julia --project=docs/ docs/make.jl`, or + - `]activate docs/; include("make.jl")`, or + - `LiveServer.jl` + `deploydocs()` ### How to write diff --git a/material/3_wed/docs/tasks.qmd b/material/3_wed/docs/tasks.qmd index 7718968..fb15e70 100644 --- a/material/3_wed/docs/tasks.qmd +++ b/material/3_wed/docs/tasks.qmd @@ -17,11 +17,12 @@ docs/ ### add some docs 2. with mydocs containing -````{verbatim} -```@docs + +````@docs func(x) -``` ```` +(but with three `) + and