diff --git a/slide-notebooks/l8_2-doc.jl b/slide-notebooks/l8_2-doc.jl index fb7638ac..9b697ed5 100644 --- a/slide-notebooks/l8_2-doc.jl +++ b/slide-notebooks/l8_2-doc.jl @@ -91,10 +91,10 @@ One can add examples to doc-strings (they can even be part of testing: [doc-test Transform polar to cartesian coordinates. ## Example -````jldoctest +```jldoctest julia> transform(4.5, pi/5) (3.6405764746872635, 2.6450336353161292) -```` +``` """ transform(r, θ) = (r*cos(θ), r*sin(θ)) diff --git a/slide-notebooks/notebooks/l8_1-multi-xpu.ipynb b/slide-notebooks/notebooks/l8_1-multi-xpu.ipynb index 5042eaff..0b906975 100644 --- a/slide-notebooks/notebooks/l8_1-multi-xpu.ipynb +++ b/slide-notebooks/notebooks/l8_1-multi-xpu.ipynb @@ -1104,11 +1104,11 @@ "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.6.3" + "version": "1.7.2" }, "kernelspec": { - "name": "julia-1.6", - "display_name": "Julia 1.6.3", + "name": "julia-1.7", + "display_name": "Julia 1.7.2", "language": "julia" } }, diff --git a/slide-notebooks/notebooks/l8_2-doc.ipynb b/slide-notebooks/notebooks/l8_2-doc.ipynb index 99bff738..72a31506 100644 --- a/slide-notebooks/notebooks/l8_2-doc.ipynb +++ b/slide-notebooks/notebooks/l8_2-doc.ipynb @@ -148,10 +148,10 @@ "Transform polar to cartesian coordinates.\n", "\n", "# Example\n", - "````jldoctest\n", + "```jldoctest\n", "julia> transform(4.5, pi/5)\n", "(3.6405764746872635, 2.6450336353161292)\n", - "````\n", + "```\n", "\"\"\"\n", "transform(r, θ) = (r*cos(θ), r*sin(θ))" ], @@ -324,11 +324,11 @@ "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.6.3" + "version": "1.7.2" }, "kernelspec": { - "name": "julia-1.6", - "display_name": "Julia 1.6.3", + "name": "julia-1.7", + "display_name": "Julia 1.7.2", "language": "julia" } }, diff --git a/website/_literate/l8_2-doc_web.jl b/website/_literate/l8_2-doc_web.jl index 5a1c3ed2..a99225f8 100644 --- a/website/_literate/l8_2-doc_web.jl +++ b/website/_literate/l8_2-doc_web.jl @@ -91,10 +91,10 @@ One can add examples to doc-strings (they can even be part of testing: [doc-test Transform polar to cartesian coordinates. ## Example -````jldoctest +```jldoctest julia> transform(4.5, pi/5) (3.6405764746872635, 2.6450336353161292) -```` +``` """ transform(r, θ) = (r*cos(θ), r*sin(θ))