Skip to content

Commit 03617fb

Browse files
tryfix docs build
1 parent a948fae commit 03617fb

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed

.github/workflows/Documentation.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,19 @@ jobs:
1616
julia-version: [1]
1717
os: [ubuntu-latest]
1818
steps:
19-
- uses: actions/checkout@v2
20-
- uses: julia-actions/setup-julia@latest
19+
- uses: actions/checkout@v4
20+
- name: "Set up Julia"
21+
uses: julia-actions/setup-julia@v1
2122
with:
2223
version: ${{ matrix.julia-version }}
23-
- name: Cache artifacts
24-
uses: actions/cache@v1
25-
env:
26-
cache-name: cache-artifacts
27-
with:
28-
path: ~/.julia/artifacts
29-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
30-
restore-keys: |
31-
${{ runner.os }}-test-${{ env.cache-name }}-
32-
${{ runner.os }}-test-
33-
${{ runner.os }}-
24+
- uses: julia-actions/cache@v1
3425
- name: Install dependencies
35-
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
26+
run: |
27+
using Pkg
28+
Pkg.add(Pkg.PackageSpec(url="https://github.com/HolyLab/RFFT.jl", rev="ib/add_copy"))
29+
Pkg.develop(PackageSpec(path=pwd()));
30+
Pkg.instantiate()
31+
shell: julia --project=docs/ --color=yes {0}
3632
- name: Build and deploy
3733
env:
3834
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docs/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1616
TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990"
1717

1818
[compat]
19-
DemoCards = "0.4"
20-
Documenter = "0.27"
19+
DemoCards = "0.4, 0.5"
20+
Documenter = "1"

docs/make.jl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,24 @@ demos, demos_cb, demos_assets = makedemos("demos")
1111
assets = []
1212
isnothing(demos_assets) || (push!(assets, demos_assets))
1313
format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true",
14-
assets = assets)
14+
assets = assets,
15+
size_threshold_ignore = [
16+
"demos/search/template_matching.md",
17+
"demos/filters/min_max_filter.md"
18+
]
19+
)
1520

1621
makedocs(
1722
modules=[ImageFiltering, OffsetArrays, Kernel, KernelFactors, ImageFiltering.MapWindow],
1823
format=format,
1924
sitename="ImageFiltering",
25+
warnonly = :missing_docs,
2026
pages=[
2127
"index.md",
2228
"Tutorials" => [
2329
"Tutorial 1" => "tutorials/tutorial1.md",
2430
],
25-
demos,
31+
demos,
2632
"Filtering images" => "filters.md",
2733
"Kernels" => "kernels.md",
2834
"Gradients" => "gradients.md",

0 commit comments

Comments
 (0)