using Vlasiator, PyPlot
using Documenter

makedocs(;
    modules=[Vlasiator],
    authors="Hongyang Zhou <hongyang.zhou@helsinki.fi> and contributors",
    repo="https://github.com/henry2004y/Vlasiator.jl/blob/{commit}{path}#L{line}",
    sitename="Vlasiator.jl",
    format=Documenter.HTML(;
        prettyurls=get(ENV, "CI", "false") == "true",
        canonical="https://henry2004y.github.io/Vlasiator.jl",
        assets=String[],
        sidebar_sitename=false
    ),
    pages=[
        "Home" => "index.md",
        "User Guide" => "manual.md",
        "Gallery" => "gallery.md",
        "API Reference" => "internal.md",
        "Contributing" => "contributing.md",
        "Log" => "log.md",
    ],
)

deploydocs(;
    repo="github.com/henry2004y/Vlasiator.jl",
)
