SequenceVariation.jl/docs/make.jl

30 lines
853 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(;
checkdocs = :exports,
linkcheck = true,
sitename = "SequenceVariation.jl",
2022-07-05 15:09:40 +00:00
format = Documenter.HTML(),
2022-07-05 15:34:21 +00:00
modules = [SequenceVariation],
pages = [
"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",
],
authors = replace(join(Pkg.TOML.parsefile("Project.toml")["authors"], ", "), r" <.*?>" => "" ) * ", The BioJulia Organisation, and other contributors."
2022-07-05 15:09:40 +00:00
)
2022-07-05 15:34:21 +00:00
deploydocs(
repo = "github.com/BioJulia/SequenceVariation.jl.git",
devbranch = "master",
push_preview = true,
)