Skip to content

Commit 1a00b42

Browse files
authored
Merge pull request #56 from OptimalTransportNetworks/development
Development
2 parents a71ef62 + dc29de0 commit 1a00b42

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.github/workflows/documentation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Documentation
22

33
on:
44
workflow_dispatch:
5+
push:
6+
tags: '*'
57
release:
68
types: [published]
79
branches:

docs/make.jl

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
using Documenter
22
using OptimalTransportNetworks
33

4-
makedocs(
4+
makedocs(;
55
sitename = "OptimalTransportNetworks.jl",
66
modules = [OptimalTransportNetworks],
7-
checkdocs = :none,
87
format = Documenter.HTML(
98
# Add these options for version switching
109
prettyurls = get(ENV, "CI", nothing) == "true",
11-
canonical = "https://OptimalTransportNetworks.github.io/OptimalTransportNetworks.jl/stable"
10+
canonical = "https://OptimalTransportNetworks.github.io/OptimalTransportNetworks.jl"
1211
),
1312
pages = [
1413
"Home" => "index.md",
1514
"API" => "api.md"
16-
]
15+
],
16+
strict=true,
17+
checkdocs = :none,
1718
)
1819

19-
deploydocs(
20-
repo = "github.com/OptimalTransportNetworks/OptimalTransportNetworks.jl.git",
21-
devbranch = "main",
22-
push_preview = true,
23-
versions = ["stable" => "v^", "dev" => "main"]
24-
)
20+
deploydocs(; repo="github.com/OptimalTransportNetworks/OptimalTransportNetworks.jl", push_preview=true)

0 commit comments

Comments
 (0)