Skip to content

Commit

Permalink
docs: build docs for "stable,dev,all-minor" versions, and enable push…
Browse files Browse the repository at this point in the history
… previews for PRs
  • Loading branch information
Stefan Strömer committed Jun 3, 2024
1 parent f2c29c3 commit 362db51
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ makedocs(;
if !is_local_draft
deploydocs(;
repo="github.com/ait-energy/IESopt.jl",
devbranch="dev",
push_preview=true, # previews for PRs (not from forks)
versions = [
"stable" => "v^", # "stable" => latest version
"v#.#", # include all minor versions
"dev" => "dev",
# "v#.#.#", # use this to include all released versions
# "v1.1.6", # use this to include a specific version
]
)
end

0 comments on commit 362db51

Please sign in to comment.