Skip to content

Commit 2766c6c

Browse files
authored
Merge pull request #17 from SebKrantz/development
Development
2 parents 851d999 + a0e4d4a commit 2766c6c

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
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
)

src/main/create_graph.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# using LinearAlgebra
33

44
"""
5-
create_graph(param, w = 11, h = 11; type = "map", N = 1, kwargs...) -> Dict
5+
create_graph(param, w = 11, h = 11; type = "map", kwargs...) -> Dict
66
77
Initialize the underlying graph, population and productivity parameters.
88

0 commit comments

Comments
 (0)