diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 1c97275..6fc7902 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -16,12 +16,12 @@ jobs: julia-version: [1] os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.julia-version }} - name: Cache artifacts - uses: actions/cache@v1 + uses: actions/cache@v4 env: cache-name: cache-artifacts with: diff --git a/docs/Project.toml b/docs/Project.toml index f0b4b9c..9c36108 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -16,5 +16,5 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990" [compat] -DemoCards = "0.4" -Documenter = "0.27" +DemoCards = "0.5" +Documenter = "1" diff --git a/docs/make.jl b/docs/make.jl index bc56762..6b7fae1 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -11,18 +11,21 @@ demos, demos_cb, demos_assets = makedemos("demos") assets = [] isnothing(demos_assets) || (push!(assets, demos_assets)) format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true", - assets = assets) + assets = assets, + size_threshold = 1_000_000, + edit_link = nothing) makedocs( modules=[ImageFiltering, OffsetArrays, Kernel, KernelFactors, ImageFiltering.MapWindow], + warnonly = :missing_docs, format=format, sitename="ImageFiltering", pages=[ "index.md", "Tutorials" => [ "Tutorial 1" => "tutorials/tutorial1.md", - ], - demos, + ], + demos, "Filtering images" => "filters.md", "Kernels" => "kernels.md", "Gradients" => "gradients.md",