SequenceVariation.jl/docs/make.jl

32 lines
848 B
Julia
Raw Normal View History

2022-07-05 15:34:21 +00:00
using Pkg
2022-07-05 15:09:40 +00:00
using Documenter
using SequenceVariation
2023-01-03 22:01:59 +00:00
using Revise
# see https://github.com/tlienart/LiveServer.jl/issues/140#issuecomment-1271591251
Revise.revise()
2022-07-05 15:09:40 +00:00
2022-07-05 15:34:21 +00:00
makedocs(;
2023-01-04 03:59:31 +00:00
checkdocs=:exports,
linkcheck=true,
sitename="SequenceVariation.jl",
format=Documenter.HTML(),
modules=[SequenceVariation],
pages=[
2022-07-05 15:34:21 +00:00
"Home" => "index.md",
2023-01-03 22:01:59 +00:00
"Working with variants" => "variants.md",
"Working with variations" => "variations.md",
"Comparing variations" => "compare.md",
2022-07-05 15:34:21 +00:00
"API Reference" => "api.md",
],
2023-01-04 03:59:31 +00:00
authors=replace(
join(Pkg.TOML.parsefile("Project.toml")["authors"], ", "), r" <.*?>" => ""
) * ", The BioJulia Organisation, and other contributors.",
2022-07-05 15:09:40 +00:00
)
2023-01-04 03:59:31 +00:00
deploydocs(;
repo="github.com/BioJulia/SequenceVariation.jl.git",
devbranch="master",
push_preview=true,
2022-07-05 15:34:21 +00:00
)