@@ -4,22 +4,20 @@ using DocumenterVitepress
4
4
using Literate, Glob
5
5
using CairoMakie
6
6
7
- ENV [" DATADEPS_ALWAYS_ACCEPT" ] = true
8
-
9
7
DocMeta. setdocmeta! (AlgebraOfGraphics, :DocTestSetup , :(using AlgebraOfGraphics); recursive= true )
10
8
11
9
cp (joinpath (@__DIR__ , " .." , " CHANGELOG.md" ), joinpath (@__DIR__ , " src" , " changelog.md" ), force = true )
12
10
13
11
makedocs (;
14
- modules= [AlgebraOfGraphics],
15
- authors= " Pietro Vertechi" ,
16
- repo= " https://github.com/MakieOrg/AlgebraOfGraphics.jl" ,
17
- sitename= " AlgebraOfGraphics" ,
12
+ modules = [AlgebraOfGraphics],
13
+ authors = " Pietro Vertechi" ,
14
+ repo = " https://github.com/MakieOrg/AlgebraOfGraphics.jl" ,
15
+ sitename = " AlgebraOfGraphics" ,
18
16
format = DocumenterVitepress. MarkdownVitepress (;
19
17
repo = " https://github.com/MakieOrg/AlgebraOfGraphics.jl" ,
20
18
deploy_url = " https://aog.makie.org" ,
21
19
),
22
- pages= Any[
20
+ pages = Any[
23
21
" Home" => " index.md" ,
24
22
" Tutorials" => [
25
23
" tutorials/intro-i.md" ,
@@ -95,11 +93,14 @@ makedocs(;
95
93
],
96
94
],
97
95
],
98
- warnonly= get (ENV , " CI" , " false" ) != " true" ,
96
+ warnonly = get (ENV , " CI" , " false" ) != " true" ,
99
97
pagesonly = true ,
100
98
)
101
99
102
- deploydocs (;
103
- repo= " github.com/MakieOrg/AlgebraOfGraphics.jl" ,
104
- push_preview= true ,
100
+ DocumenterVitepress. deploydocs (;
101
+ repo = " github.com/MakieOrg/AlgebraOfGraphics.jl" ,
102
+ target = joinpath (@__DIR__ , " build" ),
103
+ branch = " gh-pages" ,
104
+ devbranch = " master" ,
105
+ push_preview = true ,
105
106
)
0 commit comments