Skip to content

Commit a0e4d4a

Browse files
committed
Experiment: better make.jl?
1 parent 51214b1 commit a0e4d4a

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

docs/make.jl

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
using Documenter
22
using OptimalTransportNetworks
33

4+
DocMeta.setdocmeta!(OptimalTransportNetworks, :DocTestSetup, :(using OptimalTransportNetworks); recursive=true)
5+
46
makedocs(
5-
sitename = "OptimalTransportNetworks.jl",
67
modules = [OptimalTransportNetworks],
7-
checkdocs = :none,
8-
format = Documenter.HTML(
9-
# Add these options for version switching
10-
prettyurls = get(ENV, "CI", nothing) == "true",
11-
canonical = "https://SebKrantz.github.io/OptimalTransportNetworks.jl/stable"
8+
authors = "Sebastian Krantz",
9+
repo = "https://github.com/SebKrantz/OptimalTransportNetworks.jl/blob/{commit}{path}#{line}",
10+
sitename = "OptimalTransportNetworks.jl",
11+
format = Documenter.HTML(;
12+
prettyurls = get(ENV, "CI", "false") == "true",
13+
canonical = "https://SebKrantz.github.io/OptimalTransportNetworks.jl",
14+
edit_link = "main",
15+
assets = String[],
1216
),
1317
pages = [
1418
"Home" => "index.md",
@@ -18,7 +22,6 @@ makedocs(
1822

1923
deploydocs(
2024
repo = "github.com/SebKrantz/OptimalTransportNetworks.jl.git",
21-
devbranch = "development",
25+
devbranch = "main",
2226
push_preview = true,
23-
versions = ["stable" => "v^", "dev" => "development"]
2427
)

0 commit comments

Comments
 (0)