1- using Documenter, Comodo
2-
3- makedocs (
4- format = Documenter. HTML (
5- prettyurls = get (ENV , " CI" , nothing ) == " true" ,
6- collapselevel = 2 ,
7- size_threshold_warn= 1500 * 2 ^ 10 ,
8- size_threshold= 2000 * 2 ^ 10 ,
9- # assets = ["assets/favicon.ico", "assets/extra_styles.css"],
10- ),
11- sitename= " A Julia package for computational (bio)mechanics and computational design" ,
12- authors = " Kevin-Mattheus-Moerman <kevin.moerman@gmail.com>" ,
13- pages = [
14- " Functions" => " functions.md" ,
15- ]
16- )
17-
18-
19- deploydocs (
20- repo = " https://github.com/COMODO-research/Comodo.jl" ,
21- )
1+ # using Documenter, Comodo
2+
3+ # makedocs(
4+ # format = Documenter.HTML(
5+ # prettyurls = get(ENV, "CI", nothing) == "true",
6+ # collapselevel = 2,
7+ # size_threshold_warn=1500 * 2^10,
8+ # size_threshold=2000 * 2^10,
9+ # # assets = ["assets/favicon.ico", "assets/extra_styles.css"],
10+ # ),
11+ # sitename="A Julia package for computational (bio)mechanics and computational design",
12+ # authors = "Kevin-Mattheus-Moerman <kevin.moerman@gmail.com>",
13+ # pages = [
14+ # "Functions" => "functions.md",
15+ # ]
16+ # )
17+
18+
19+ # deploydocs(
20+ # repo = "https://github.com/COMODO-research/Comodo.jl",
21+ # )
22+
23+
24+ # using Comodo
25+ # using Documenter
26+ # using DocumenterVitepress
27+
28+ # DocMeta.setdocmeta!(Comodo, :DocTestSetup, :(using Comodo); recursive=true)
29+
30+ # makedocs(;
31+ # modules=[Comodo],
32+ # authors= "Kevin-Mattheus-Moerman <kevin.moerman@gmail.com>",
33+ # sitename="A Julia package for computational (bio)mechanics and computational design",
34+ # format=DocumenterVitepress.MarkdownVitepress(
35+ # repo = "github.com/Aminofa70/Comodo.jl",
36+ # devbranch="main",
37+ # devurl="dev",
38+ # ),
39+ # pages = [
40+ # "Home" => "index.md",
41+
42+ # "Tutorials" => [
43+ # "Getting started" => "tutorials/getting-started.md",
44+
45+ # "Demos" => [
46+ # "Demo 0001" => "tutorials/demo_0001.md",
47+ # # "Demo 0002" => "tutorials/demo_0002.md",
48+ # ],
49+ # ],
50+
51+ # "API Reference" => "api.md",
52+ # ]
53+ # )
54+
55+ # DocumenterVitepress.deploydocs(;
56+ # repo = "github.com/Aminofa70/Comodo.jl.git",
57+ # target = joinpath(@__DIR__, "build"),
58+ # branch = "gh-pages",
59+ # devbranch = "main",
60+ # push_preview = true,
61+ # )
62+
63+
64+ using Comodo
65+ using Documenter
66+ using DocumenterVitepress
67+
68+ DocMeta. setdocmeta! (Comodo, :DocTestSetup , :(using Comodo); recursive= true )
69+
70+ makedocs (;
71+ modules = Module[],
72+ authors = " Kevin-Mattheus-Moerman <kevin.moerman@gmail.com>" ,
73+ sitename = " Comodo.jl" ,
74+ format = DocumenterVitepress. MarkdownVitepress (
75+ repo = " github.com/COMODO-research/Comodo.jl" ,
76+ devbranch = " main" ,
77+ devurl = " dev" ,
78+ ),
79+ pages = [
80+ " Home" => " index.md" ,
81+ " Tutorials" => [
82+ " Getting started" => " tutorials/getting-started.md" ,
83+ " Demos" => [
84+ " demo_quadplate" => " tutorials/demo_quadplate.md" ,
85+ ],
86+ ],
87+ " API Reference" => " api.md" ,
88+ ],
89+ )
90+
91+ DocumenterVitepress. deploydocs (;
92+ repo = " github.com/COMODO-research/Comodo.jl.git" ,
93+ target = joinpath (@__DIR__ , " build" ),
94+ branch = " gh-pages" ,
95+ devbranch = " main" ,
96+ push_preview = true ,
97+ )
0 commit comments