File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using Documenter
22using OptimalTransportNetworks
33
4- DocMeta. setdocmeta! (OptimalTransportNetworks, :DocTestSetup , :(using OptimalTransportNetworks); recursive= true )
5-
64makedocs (
7- modules = [OptimalTransportNetworks],
8- authors = " Sebastian Krantz" ,
9- repo = " https://github.com/SebKrantz/OptimalTransportNetworks.jl/blob/{commit}{path}#{line}" ,
105 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[],
6+ 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"
1612 ),
1713 pages = [
1814 " Home" => " index.md" ,
@@ -23,6 +19,6 @@ makedocs(
2319deploydocs (
2420 repo = " github.com/SebKrantz/OptimalTransportNetworks.jl.git" ,
2521 devbranch = " main" ,
26- tag = " stable" ,
2722 push_preview = true ,
23+ versions = [" stable" => " v^" , " dev" => " main" ]
2824)
You can’t perform that action at this time.
0 commit comments