Skip to content

Commit 9888543

Browse files
authored
Fixes for Vitepress 0.2 (#317)
1 parent 5a4351c commit 9888543

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@ jobs:
3434
arch: arm64
3535
steps:
3636
- uses: actions/checkout@v2
37-
- uses: julia-actions/cache@v1
38-
- uses: julia-actions/setup-julia@v1
37+
- uses: julia-actions/cache@v2
38+
- uses: julia-actions/setup-julia@v2
3939
with:
4040
version: ${{ matrix.version }}
4141
arch: ${{ matrix.arch }}
42-
- uses: julia-actions/cache@v1
4342
- name: Dev GeometryOpsCore and add other packages
4443
run: julia --project=. -e 'using Pkg; Pkg.develop(; path = joinpath(".", "GeometryOpsCore"));'
4544
- uses: julia-actions/julia-buildpkg@v1
@@ -62,8 +61,8 @@ jobs:
6261
actions: write
6362
steps:
6463
- uses: actions/checkout@v2
65-
- uses: julia-actions/cache@v1
66-
- uses: julia-actions/setup-julia@v1
64+
- uses: julia-actions/cache@v2
65+
- uses: julia-actions/setup-julia@v2
6766
with:
6867
version: '1'
6968
- name: Build and add versions
@@ -82,9 +81,9 @@ jobs:
8281
statuses: write
8382
actions: write
8483
steps:
85-
- uses: actions/checkout@v2
86-
- uses: julia-actions/cache@v1
87-
- uses: julia-actions/setup-julia@v1
84+
- uses: actions/checkout@v4
85+
- uses: julia-actions/cache@v2
86+
- uses: julia-actions/setup-julia@v2
8887
with:
8988
version: '1'
9089
- name: Build and add versions

docs/Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@ TGGeometry = "d7e755d2-3c95-4bcf-9b3c-79ab1a78647b"
5050
[sources]
5151
GeometryOps = {path = "../"}
5252
GeometryOpsCore = {path = "../GeometryOpsCore"}
53+
54+
[compat]
55+
DocumenterVitepress = ">=0.2.1"

docs/make.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CairoMakie.activate!(px_per_unit = 2, type = "svg", inline = true) # TODO: make
77
# import packages that activate extensions
88
import FlexiJoins, LibGEOS, Proj, TGGeometry
99

10-
DocMeta.setdocmeta!(GeometryOps, :DocTestSetup, :(using GeometryOps; using GeometryOps.GeometryBasics); recursive=true)
10+
DocMeta.setdocmeta!(GeometryOps, :DocTestSetup, :(using GeometryOps; using GeometryBasics); recursive=true)
1111

1212
using GeoInterfaceMakie
1313

@@ -156,7 +156,7 @@ makedocs(;
156156
warnonly = true,
157157
)
158158

159-
deploydocs(;
159+
DocumenterVitepress.deploydocs(;
160160
repo="github.com/JuliaGeo/GeometryOps.jl",
161161
devbranch="main",
162162
push_preview = true,

0 commit comments

Comments
 (0)